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
This commit is contained in:
Robert Špalek 2009-11-22 21:27:30 +00:00
parent f6f8b66d45
commit 604ed73b87

View File

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