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/ct01.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/ct01.cpp')
| -rw-r--r-- | engines/bladerunner/script/scene/ct01.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/script/scene/ct01.cpp b/engines/bladerunner/script/scene/ct01.cpp index 9cfe78bc15..0e1b53b08b 100644 --- a/engines/bladerunner/script/scene/ct01.cpp +++ b/engines/bladerunner/script/scene/ct01.cpp @@ -586,7 +586,7 @@ void SceneScriptCT01::dialogueWithHowieLee() { Actor_Says(kActorMcCoy, 290, 13); if (Actor_Query_Friendliness_To_Other(kActorHowieLee, kActorMcCoy) > 49 && (Global_Variable_Query(kVariableChinyen) > 10 - || Query_Difficulty_Level() == 0 + || Query_Difficulty_Level() == kGameDifficultyEasy ) ) { Actor_Says(kActorHowieLee, 50, kAnimationModeTalk); @@ -594,7 +594,7 @@ void SceneScriptCT01::dialogueWithHowieLee() { Actor_Face_Actor(kActorHowieLee, kActorMcCoy, true); Actor_Says(kActorHowieLee, 70, 16); Actor_Says(kActorMcCoy, 325, 13); - if (Query_Difficulty_Level() != 0) { + if (Query_Difficulty_Level() != kGameDifficultyEasy) { Global_Variable_Decrement(kVariableChinyen, 10); } Game_Flag_Set(kFlagCT01BoughtHowieLeeFood); |
