mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 00:42:24 +00:00
ACCESS: MM - Fix the travel box
This commit is contained in:
parent
290ea5dfa2
commit
eed5116fef
@ -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…
x
Reference in New Issue
Block a user