aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/scene/dr05.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bladerunner/script/scene/dr05.cpp')
-rw-r--r--engines/bladerunner/script/scene/dr05.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/script/scene/dr05.cpp b/engines/bladerunner/script/scene/dr05.cpp
index df43d2c899..0ae0f28999 100644
--- a/engines/bladerunner/script/scene/dr05.cpp
+++ b/engines/bladerunner/script/scene/dr05.cpp
@@ -111,7 +111,7 @@ bool SceneScriptDR05::ClickedOnItem(int itemId, bool a2) {
if (itemId == kItemChain
&& Player_Query_Combat_Mode()
- && Actor_Query_Goal_Number(kActorMoraji) == kGoalOfficerLearyDefault
+ && Actor_Query_Goal_Number(kActorMoraji) == kGoalMorajiDefault
) {
Overlay_Play("DR05OVER", 1, false, true, 0);
Item_Remove_From_World(kItemChain);