Move WalkingMap instance to Game, and clean up parameters

svn-id: r45516
This commit is contained in:
Robert Špalek 2009-10-30 02:15:41 +00:00
parent ebe5db4be2
commit f3700a23e9
3 changed files with 13 additions and 11 deletions

View file

@ -837,7 +837,7 @@ void Script::exitDialogue(Common::Queue<int> &params) {
void Script::roomMap(Common::Queue<int> &params) {
// Load the default walking map for the room
_vm->_game->loadWalkingMap(-1);
_vm->_game->loadWalkingMap(_vm->_game->getMapID());
}
void Script::disableQuickHero(Common::Queue<int> &params) {