aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/draci/game.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp
index f8b86a7d7a..aa7964fb3b 100644
--- a/engines/draci/game.cpp
+++ b/engines/draci/game.cpp
@@ -444,6 +444,7 @@ void Game::advanceAnimationsAndTestLoopExit() {
bool walkingFinished = false;
if (_walkingState.isActive()) {
walkingFinished = !_walkingState.continueWalkingOrClearPath();
+ // If walking has finished, the path won't be active anymore.
}
// Advance animations (this may also call setExitLoop(true) in the
@@ -1355,6 +1356,7 @@ bool Game::enterNewRoom() {
// If the game has been reloaded, force reloading all animations.
return true;
}
+ setIsReloaded(false);
debugC(1, kDraciLogicDebugLevel, "Entering room %d using gate %d", _newRoom, _newGate);
_vm->_mouse->cursorOff();
@@ -1444,7 +1446,6 @@ bool Game::enterNewRoom() {
// Reset the loop status.
setLoopStatus(kStatusOrdinary);
- setIsReloaded(false);
if (_vm->_script->shouldEndProgram()) {
// Escape pressed during the intro or map animations run in the
// init scripts. This flag was turned on to skip the rest of