diff options
Diffstat (limited to 'engines/gnap/scenes/scene42.cpp')
-rw-r--r-- | engines/gnap/scenes/scene42.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/gnap/scenes/scene42.cpp b/engines/gnap/scenes/scene42.cpp index 3aaedc8dc0..94a59e7eb4 100644 --- a/engines/gnap/scenes/scene42.cpp +++ b/engines/gnap/scenes/scene42.cpp @@ -66,7 +66,7 @@ int GnapEngine::scene42_init() { } void GnapEngine::scene42_updateHotspots() { - if (isFlag(12)) { + if (isFlag(kGFGnapControlsToyUFO)) { setHotspot(kHSPlatypus, 0, 0, 0, 0, SF_DISABLED); setHotspot(kHSUfoExitLeft, 0, 0, 10, 599, SF_EXIT_L_CURSOR); setHotspot(kHSUfoExitRight, 790, 0, 799, 599, SF_EXIT_R_CURSOR); @@ -99,7 +99,7 @@ void GnapEngine::scene42_run() { _gameSys->setAnimation(0x14A, 1, 2); _gameSys->insertSequence(_s42_currBBQVendorSequenceId, 1, 0, 0, kSeqNone, 0, 0, 0); - if (isFlag(12)) { + if (isFlag(kGFGnapControlsToyUFO)) { _toyUfoId = 0; _toyUfoActionStatus = -1; if (_prevSceneNum == 43 && isFlag(18)) { @@ -157,7 +157,7 @@ void GnapEngine::scene42_run() { _sceneClickedHotspot = getClickedHotspotId(); updateGrabCursorSprite(0, 0); - if (isFlag(12)) { + if (isFlag(kGFGnapControlsToyUFO)) { switch (_sceneClickedHotspot) { @@ -310,7 +310,7 @@ void GnapEngine::scene42_run() { if (_mouseClickState._left && _gnapActionStatus < 0) { _mouseClickState._left = false; - if (isFlag(12)) { + if (isFlag(kGFGnapControlsToyUFO)) { _toyUfoActionStatus = kASToyUfoRefresh; toyUfoFlyTo(-1, -1, 0, 799, 0, 300, 3); } else { @@ -323,9 +323,9 @@ void GnapEngine::scene42_run() { toyUfoCheckTimer(); if (!_isLeavingScene) { - if (_beaverActionStatus < 0 && !isFlag(12)) + if (_beaverActionStatus < 0 && !isFlag(kGFGnapControlsToyUFO)) updateBeaverIdleSequence(); - if (_gnapActionStatus < 0 && !isFlag(12)) + if (_gnapActionStatus < 0 && !isFlag(kGFGnapControlsToyUFO)) updateGnapIdleSequence(); if (!_timers[4]) { _timers[4] = getRandom(20) + 30; |