ACCESS: MM - Fix the travel box

This commit is contained in:
Strangerke 2015-01-21 22:26:23 +01:00
parent 290ea5dfa2
commit eed5116fef
2 changed files with 3 additions and 1 deletions

View File

@ -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) {

View File

@ -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;