diff options
author | Peter Kohaut | 2019-01-10 23:00:55 +0100 |
---|---|---|
committer | Peter Kohaut | 2019-01-12 18:16:52 +0100 |
commit | 2f0fb70a27726d2c4a233d394c1cb8ad375ad09d (patch) | |
tree | 668f7806954221047ebaa33beda032fcc8c2ce5f /engines/bladerunner/script/scene/ma01.cpp | |
parent | b4fed90145e7aa22601de9f32b5a4b0501266d1a (diff) | |
download | scummvm-rg350-2f0fb70a27726d2c4a233d394c1cb8ad375ad09d.tar.gz scummvm-rg350-2f0fb70a27726d2c4a233d394c1cb8ad375ad09d.tar.bz2 scummvm-rg350-2f0fb70a27726d2c4a233d394c1cb8ad375ad09d.zip |
BLADERUNNER: Fixed enabling combat mode in scripts
Fixed Zuben chase.
Added name of some flags used in the China town.
Diffstat (limited to 'engines/bladerunner/script/scene/ma01.cpp')
-rw-r--r-- | engines/bladerunner/script/scene/ma01.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/bladerunner/script/scene/ma01.cpp b/engines/bladerunner/script/scene/ma01.cpp index c75b7c1225..b839886eff 100644 --- a/engines/bladerunner/script/scene/ma01.cpp +++ b/engines/bladerunner/script/scene/ma01.cpp @@ -97,13 +97,13 @@ bool SceneScriptMA01::ClickedOnItem(int itemId, bool a2) { } bool SceneScriptMA01::ClickedOnExit(int exitId) { - if (Actor_Query_Goal_Number(kActorZuben) == 21) { + if (Actor_Query_Goal_Number(kActorZuben) == kGoalZubenMA01AttackMcCoy) { return true; } if (exitId == kMA01ExitMA06) { - if (Actor_Query_Goal_Number(kActorZuben) == 20) { + if (Actor_Query_Goal_Number(kActorZuben) == kGoalZubenFled) { if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 1446.0f, 0.0f, -725.0f, 72, 1, false, 0)) { - Actor_Set_Goal_Number(kActorZuben, 21); + Actor_Set_Goal_Number(kActorZuben, kGoalZubenMA01AttackMcCoy); Scene_Exits_Disable(); } } else if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 1446.0f, 0.0f, -725.0f, 12, 1, false, 0)) { |