ACCESS: MM - Fix the travel box
This commit is contained in:
parent
290ea5dfa2
commit
eed5116fef
2 changed files with 3 additions and 1 deletions
|
@ -649,7 +649,7 @@ int BubbleBox::doBox_v1(int item, int box, int &btnSelected) {
|
|||
if (!_vm->_events->_leftButton)
|
||||
continue;
|
||||
|
||||
if ((_type != TYPE_1) && (_vm->_timers[2]._flag == 0)) {
|
||||
if (((_type == TYPE_1) || (_type != TYPE_3)) && (_vm->_timers[2]._flag == 0)) {
|
||||
++_vm->_timers[2]._flag;
|
||||
if (_btnUpPos.contains(_vm->_events->_mousePos)) {
|
||||
if (_vm->BCNT) {
|
||||
|
|
|
@ -685,6 +685,8 @@ void Scripts::cmdDoTravel() {
|
|||
continue;
|
||||
}
|
||||
if (_vm->_player->_roomNumber != idx) {
|
||||
_vm->_player->_roomNumber = idx;
|
||||
_vm->_room->_function = FN_CLEAR1;
|
||||
if (Martian::TRAVEL_POS[idx][0] == -1) {
|
||||
_vm->_player->_roomNumber = idx;
|
||||
_vm->_room->_conFlag = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue