aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap/scenes/scene13.cpp
diff options
context:
space:
mode:
authorStrangerke2016-03-18 01:32:32 +0100
committerEugene Sandulenko2016-05-10 09:54:21 +0200
commitb6ba5cfd89bed28dfab39f5af7b445b0041c2c7e (patch)
tree6a153f76cb85169bbdadcb05d46f682c670be0c9 /engines/gnap/scenes/scene13.cpp
parentcfaa49f5fd8be46ca448b09aec2869a49ba7e197 (diff)
downloadscummvm-rg350-b6ba5cfd89bed28dfab39f5af7b445b0041c2c7e.tar.gz
scummvm-rg350-b6ba5cfd89bed28dfab39f5af7b445b0041c2c7e.tar.bz2
scummvm-rg350-b6ba5cfd89bed28dfab39f5af7b445b0041c2c7e.zip
GNAP: Reduce the scope of a couple of variables, make use of enum values in calls to InsertSequence
Diffstat (limited to 'engines/gnap/scenes/scene13.cpp')
-rw-r--r--engines/gnap/scenes/scene13.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/gnap/scenes/scene13.cpp b/engines/gnap/scenes/scene13.cpp
index 233b7544b2..2897f687db 100644
--- a/engines/gnap/scenes/scene13.cpp
+++ b/engines/gnap/scenes/scene13.cpp
@@ -184,6 +184,7 @@ void GnapEngine::scene13_run() {
if (_gnapX == 5 && _gnapY == 5) {
_s13_backToiletCtr = MIN(5, _s13_backToiletCtr + 1);
_gameSys->setAnimation(_s13_backToiletCtr + 0xA3, _gnapId, 0);
+ // CHECKME: Check the value of the flag
_gameSys->insertSequence(_s13_backToiletCtr + 0xA3, _gnapId,
makeRid(_gnapSequenceDatNum, _gnapSequenceId), _gnapId,
9, 0, 0, 0);