aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/scene/ma04.cpp
diff options
context:
space:
mode:
authorThanasis Antoniou2019-04-20 17:32:47 +0300
committerThanasis Antoniou2019-04-20 17:33:39 +0300
commita663930dd062edd8bfc217fb19a5cbce37705ece (patch)
tree6d3b81f51280a1c6b59e1570aac3f976b874175a /engines/bladerunner/script/scene/ma04.cpp
parent63b8ddb50e03a535c4f61a2424914a3c09579197 (diff)
downloadscummvm-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/ma04.cpp')
-rw-r--r--engines/bladerunner/script/scene/ma04.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/script/scene/ma04.cpp b/engines/bladerunner/script/scene/ma04.cpp
index b7e869c21d..80dade2c41 100644
--- a/engines/bladerunner/script/scene/ma04.cpp
+++ b/engines/bladerunner/script/scene/ma04.cpp
@@ -580,7 +580,7 @@ void SceneScriptMA04::sleep() {
Global_Variable_Set(kVariableChapter, 2);
Chapter_Enter(2, kSetMA02_MA04, kSceneMA04);
#if BLADERUNNER_ORIGINAL_BUGS
- if (Query_Difficulty_Level() != 0) {
+ if (Query_Difficulty_Level() != kGameDifficultyEasy) {
if (!Game_Flag_Query(kFlagZubenBountyPaid)) {
Global_Variable_Increment(kVariableChinyen, 200);
}
@@ -589,7 +589,7 @@ void SceneScriptMA04::sleep() {
// NOTE If not for the "Report Im" to Guzza, it would be simpler to have McCoy get the money as soon as he retires Zuben
// so that would be in a single place in the code
if (!Game_Flag_Query(kFlagZubenBountyPaid) && Game_Flag_Query(kFlagZubenRetired)) { // get retirement money at end of day 1 only if Zuben was retired.
- if (Query_Difficulty_Level() != 0) {
+ if (Query_Difficulty_Level() != kGameDifficultyEasy) {
Global_Variable_Increment(kVariableChinyen, 200);
}
Game_Flag_Set(kFlagZubenBountyPaid); // not a proper bug, but was missing from original code, so the flag would remain in non-consistent state in this case