diff options
author | Peter Kohaut | 2017-03-29 01:50:47 +0200 |
---|---|---|
committer | Peter Kohaut | 2017-03-29 01:55:06 +0200 |
commit | d42b39817d89421b932f2b4079a2bed0b737754c (patch) | |
tree | 7eccdb4280cbd8ebbe5f7a7798ac8f9722ea1b64 /engines/bladerunner/script/scene/ps11.cpp | |
parent | 4564b84d918e13bfceed4338aa3111bf468b0f0e (diff) | |
download | scummvm-rg350-d42b39817d89421b932f2b4079a2bed0b737754c.tar.gz scummvm-rg350-d42b39817d89421b932f2b4079a2bed0b737754c.tar.bz2 scummvm-rg350-d42b39817d89421b932f2b4079a2bed0b737754c.zip |
BLADERUNNER: introduced some game constants
Game script are more readable now
Fixed name of Officer Leary
Diffstat (limited to 'engines/bladerunner/script/scene/ps11.cpp')
-rw-r--r-- | engines/bladerunner/script/scene/ps11.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/script/scene/ps11.cpp b/engines/bladerunner/script/scene/ps11.cpp index 1b20781451..dba7f1abd5 100644 --- a/engines/bladerunner/script/scene/ps11.cpp +++ b/engines/bladerunner/script/scene/ps11.cpp @@ -223,7 +223,7 @@ bool SceneScriptPS11::ClickedOnItem(int itemId, bool a2) { bool SceneScriptPS11::ClickedOnExit(int exitId) { if (exitId == 0) { - if (!Loop_Actor_Walk_To_Waypoint(0, 6, 12, 1, false)) { + if (!Loop_Actor_Walk_To_Waypoint(kActorMcCoy, 6, 12, 1, false)) { Game_Flag_Set(15); sub_402744(); Set_Enter(14, 73); @@ -231,7 +231,7 @@ bool SceneScriptPS11::ClickedOnExit(int exitId) { return true; } if (exitId == 1) { - if (!Loop_Actor_Walk_To_Waypoint(0, 8, 12, 1, false)) { + if (!Loop_Actor_Walk_To_Waypoint(kActorMcCoy, 8, 12, 1, false)) { Game_Flag_Set(16); sub_402744(); Global_Variable_Decrement(9, 20 - Global_Variable_Query(11)); |