aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap/scenes/scene17.cpp
diff options
context:
space:
mode:
authorStrangerke2016-04-10 12:02:08 +0200
committerEugene Sandulenko2016-05-10 09:54:21 +0200
commit6dfa316b2454e34252225be399a08f56b78e274f (patch)
tree19c3bdc793ef05e15e82d754029e9ea5895bdfec /engines/gnap/scenes/scene17.cpp
parent6a55da1504b54d4ac16dcccd3fd6c9811d6e3620 (diff)
downloadscummvm-rg350-6dfa316b2454e34252225be399a08f56b78e274f.tar.gz
scummvm-rg350-6dfa316b2454e34252225be399a08f56b78e274f.tar.bz2
scummvm-rg350-6dfa316b2454e34252225be399a08f56b78e274f.zip
GNAP: Replace more flags values by enums (WIP)
Diffstat (limited to 'engines/gnap/scenes/scene17.cpp')
-rw-r--r--engines/gnap/scenes/scene17.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gnap/scenes/scene17.cpp b/engines/gnap/scenes/scene17.cpp
index c502649c1d..8c07a0aff7 100644
--- a/engines/gnap/scenes/scene17.cpp
+++ b/engines/gnap/scenes/scene17.cpp
@@ -129,7 +129,7 @@ void GnapEngine::scene17_run() {
_timers[6] = getRandom(30) + 200;
_timers[7] = getRandom(100) + 100;
- if (isFlag(9)) {
+ if (isFlag(kGFTruckKeysUsed)) {
_gameSys->insertSequence(0x25F, 20, 0, 0, kSeqNone, 0, 0, 0);
} else {
if (_s18_garbageCanPos >= 8) {
@@ -157,7 +157,7 @@ void GnapEngine::scene17_run() {
_s17_currCarWindowSequenceId = 0x244;
- if (isFlag(14))
+ if (isFlag(kGFUnk14))
_gameSys->insertSequence(0x261, 1, 0, 0, kSeqNone, 0, 0, 0);
_gameSys->setAnimation(_s17_currWrenchSequenceId, 40, 2);