mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
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:
parent
f6f8b66d45
commit
604ed73b87
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user