aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/game.cpp')
-rw-r--r--engines/mads/game.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/mads/game.cpp b/engines/mads/game.cpp
index 962e82ca18..08a5f97a3d 100644
--- a/engines/mads/game.cpp
+++ b/engines/mads/game.cpp
@@ -58,6 +58,7 @@ Game::Game(MADSEngine *vm): _vm(vm), _surface(nullptr), _objects(vm),
_updateSceneFlag = false;
_abortTimersMode = ABORTMODE_0;
_abortTimersMode2 = ABORTMODE_0;
+ _ticksExpiry = 0;
}
Game::~Game() {
@@ -176,7 +177,7 @@ void Game::sectionLoop() {
}
_vm->_events->initVars();
- _scene._v1A = -1;
+ _scene._v1A = true;
_scene._v1C = -1;
_objectHiliteVocabIdx = -1;
@@ -230,8 +231,8 @@ void Game::sectionLoop() {
_vm->_events->resetCursor();
_v1 = 3;
- delete _scene._animation;
- _scene._animation = nullptr;
+ delete _scene._animationData;
+ _scene._animationData = nullptr;
_scene._reloadSceneFlag = false;