575 | | getClosestPtOnBox(_vm->getBoxCoordinates(_walkdata.curbox), _pos.x, _pos.y, tmp.x, tmp.y); |
576 | | getClosestPtOnBox(_vm->getBoxCoordinates(_walkbox), tmp.x, tmp.y, foundPath.x, foundPath.y); |
| 575 | if (_vm->_game.version == 0 && _vm->_currentRoom == 33) { |
| 576 | // Fix for meteor landing, MM C64 uses two walkboxes instead of one. |
| 577 | foundPath = _walkdata.dest; |
| 578 | } else { |
| 579 | getClosestPtOnBox(_vm->getBoxCoordinates(_walkdata.curbox), _pos.x, _pos.y, tmp.x, tmp.y); |
| 580 | getClosestPtOnBox(_vm->getBoxCoordinates(_walkbox), tmp.x, tmp.y, foundPath.x, foundPath.y); |
| 581 | } |