aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Špalek2009-11-22 21:27:30 +0000
committerRobert Špalek2009-11-22 21:27:30 +0000
commit604ed73b87e908475a8e2faf1d01d5e03fa14587 (patch)
tree99c893b77028e3a95a1565d7a10846481745a935
parentf6f8b66d455d73fb72e8c4547d763d9d9d115386 (diff)
downloadscummvm-rg350-604ed73b87e908475a8e2faf1d01d5e03fa14587.tar.gz
scummvm-rg350-604ed73b87e908475a8e2faf1d01d5e03fa14587.tar.bz2
scummvm-rg350-604ed73b87e908475a8e2faf1d01d5e03fa14587.zip
Move setIsReloaded(false) in enterNewRoom() to the right place.
Last commit moved it below, but that cancelled GPL2 programs run right after loading the game. svn-id: r46099
-rw-r--r--engines/draci/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp
index 99cb5d7d74..7d026e96f8 100644
--- a/engines/draci/game.cpp
+++ b/engines/draci/game.cpp
@@ -1279,6 +1279,7 @@ void Game::enterNewRoom() {
// Set the appropriate loop status before loading the room
setLoopStatus(kStatusGate);
+ setIsReloaded(false);
// Make sure the possible walking path from the previous room is
// cleaned up. Some rooms (e.g., the map) don't support walking.
@@ -1301,7 +1302,6 @@ void Game::enterNewRoom() {
// Reset the loop status.
setLoopStatus(kStatusOrdinary);
setExitLoop(false);
- setIsReloaded(false);
// Set cursor state
// Need to do this after we set the palette since the cursors use it