diff options
author | Thanasis Antoniou | 2019-04-20 17:32:47 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-04-20 17:33:39 +0300 |
commit | a663930dd062edd8bfc217fb19a5cbce37705ece (patch) | |
tree | 6d3b81f51280a1c6b59e1570aac3f976b874175a /engines/bladerunner/script/scene/hc02.cpp | |
parent | 63b8ddb50e03a535c4f61a2424914a3c09579197 (diff) | |
download | scummvm-rg350-a663930dd062edd8bfc217fb19a5cbce37705ece.tar.gz scummvm-rg350-a663930dd062edd8bfc217fb19a5cbce37705ece.tar.bz2 scummvm-rg350-a663930dd062edd8bfc217fb19a5cbce37705ece.zip |
BLADERUNNER: Named constants for animationIds P01
Part one of using named constants for model animations
Diffstat (limited to 'engines/bladerunner/script/scene/hc02.cpp')
-rw-r--r-- | engines/bladerunner/script/scene/hc02.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/bladerunner/script/scene/hc02.cpp b/engines/bladerunner/script/scene/hc02.cpp index 413c9a78ae..bf35dd3257 100644 --- a/engines/bladerunner/script/scene/hc02.cpp +++ b/engines/bladerunner/script/scene/hc02.cpp @@ -114,7 +114,7 @@ bool SceneScriptHC02::ClickedOnActor(int actorId) { } else if ( Actor_Clue_Query(kActorMcCoy, kClueHomelessManInterview1) && !Actor_Clue_Query(kActorMcCoy, kClueFlaskOfAbsinthe) && (Global_Variable_Query(kVariableChinyen) > 20 - || Query_Difficulty_Level() == 0 + || Query_Difficulty_Level() == kGameDifficultyEasy ) ) { Actor_Clue_Acquire(kActorMcCoy, kClueFlaskOfAbsinthe, true, kActorHawkersBarkeep); @@ -129,7 +129,7 @@ bool SceneScriptHC02::ClickedOnActor(int actorId) { Actor_Change_Animation_Mode(kActorMcCoy, 23); Delay(1500); Actor_Says_With_Pause(kActorHawkersBarkeep, 50, 1.6f, 17); - if (Query_Difficulty_Level() != 0) { + if (Query_Difficulty_Level() != kGameDifficultyEasy) { Global_Variable_Decrement(kVariableChinyen, 20); } Actor_Says(kActorMcCoy, 1245, 13); @@ -143,9 +143,9 @@ bool SceneScriptHC02::ClickedOnActor(int actorId) { Game_Flag_Set(kFlagHC02HawkersBarkeepBraceletTalk); } if (Global_Variable_Query(kVariableChinyen) > 5 - || Query_Difficulty_Level() == 0 + || Query_Difficulty_Level() == kGameDifficultyEasy ) { - if (Query_Difficulty_Level() != 0) { + if (Query_Difficulty_Level() != kGameDifficultyEasy) { Global_Variable_Decrement(kVariableChinyen, 5); } Global_Variable_Increment(kVariableMcCoyDrinks, 1); |