aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/scene/dr04.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bladerunner/script/scene/dr04.cpp')
-rw-r--r--engines/bladerunner/script/scene/dr04.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/bladerunner/script/scene/dr04.cpp b/engines/bladerunner/script/scene/dr04.cpp
index b0d801b3ed..8b5225e8d3 100644
--- a/engines/bladerunner/script/scene/dr04.cpp
+++ b/engines/bladerunner/script/scene/dr04.cpp
@@ -127,19 +127,19 @@ bool SceneScriptDR04::ClickedOnActor(int actorId) {
if (Actor_Query_Goal_Number(kActorMoraji) == kGoalMorajiDead) {
if (!Loop_Actor_Walk_To_Actor(kActorMcCoy, kActorMoraji, 36, true, false)) {
- #if BLADERUNNER_ORIGINAL_BUGS
+#if BLADERUNNER_ORIGINAL_BUGS
Actor_Set_Goal_Number(kActorOfficerGrayford, 106);
- #else
+#else
// bugfix: original code would result in this conversation repeating multiple times if:
// Officer Grayford is at 103 goal (asking "What do you know about this?"...
// and the player skips the conversation fast.
// So ask about a sheet (goal 106) for Moraji only when Grayford starts patrolling (104, 105 goals)
- if (Actor_Query_Goal_Number(kActorOfficerGrayford)
- && ( Actor_Query_Goal_Number(kActorOfficerGrayford) == 104
- || Actor_Query_Goal_Number(kActorOfficerGrayford) == 105 ) ) {
+ if (Actor_Query_Goal_Number(kActorOfficerGrayford) == 104
+ || Actor_Query_Goal_Number(kActorOfficerGrayford) == 105
+ ) {
Actor_Set_Goal_Number(kActorOfficerGrayford, 106); // This goal reverts to the previous one after finishing up
}
- #endif // BLADERUNNER_ORIGINAL_BUGS#else [new code]
+#endif // BLADERUNNER_ORIGINAL_BUGS
return true;
}
}