Fix bug 2983187 on continuing palette change

svn-id: r48615
This commit is contained in:
Robert Špalek 2010-04-11 06:02:41 +00:00
parent 726500a2f3
commit c66e47cad4

View File

@ -1289,6 +1289,9 @@ void Game::enterNewRoom() {
// cleaned up. Some rooms (e.g., the map) don't support walking.
_walkingState.stopWalking();
// Stop a possible palette fading.
_fadePhases = _fadePhase = 0;
_currentRoom.load(_newRoom, _vm->_roomsArchive);
loadWalkingMap(getMapID());
loadRoomObjects();