aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/ai
diff options
context:
space:
mode:
authorThanasis Antoniou2019-03-10 18:00:29 +0200
committerThanasis Antoniou2019-03-10 18:02:05 +0200
commit1c6905217e4c249a67a5ca289868e0fcc68ae9eb (patch)
tree1819b34e71d81e4162ad8f8a1d835b6dbbf045b9 /engines/bladerunner/script/ai
parentfe83c985be5b16b2f1ef51c4c6ac173117580489 (diff)
downloadscummvm-rg350-1c6905217e4c249a67a5ca289868e0fcc68ae9eb.tar.gz
scummvm-rg350-1c6905217e4c249a67a5ca289868e0fcc68ae9eb.tar.bz2
scummvm-rg350-1c6905217e4c249a67a5ca289868e0fcc68ae9eb.zip
BLADERUNNER: Marking cut content with BLADERUNNER_RESTORED_CUT_CONTENT macro
Enabled by default. Currently, only restored content is the death rattle sound for Moraji and Zuben, and the dialogue of Guzza denying McCoy an advance
Diffstat (limited to 'engines/bladerunner/script/ai')
-rw-r--r--engines/bladerunner/script/ai/moraji.cpp7
-rw-r--r--engines/bladerunner/script/ai/zuben.cpp7
2 files changed, 6 insertions, 8 deletions
diff --git a/engines/bladerunner/script/ai/moraji.cpp b/engines/bladerunner/script/ai/moraji.cpp
index e1180a8eb3..00234764bd 100644
--- a/engines/bladerunner/script/ai/moraji.cpp
+++ b/engines/bladerunner/script/ai/moraji.cpp
@@ -192,11 +192,10 @@ bool AIScriptMoraji::GoalChanged(int currentGoalNumber, int newGoalNumber) {
// Added check here to have Moraji death speech SFX
// when shot by McCoy outside the Dermo Design Lab
if (Game_Flag_Query(kFlagDR04McCoyShotMoraji)) {
-#if BLADERUNNER_ORIGINAL_BUGS
- // original code uses no voice here
-#else
+#if BLADERUNNER_RESTORED_CUT_CONTENT
+ // original code used no voice here
Sound_Play_Speech_Line(kActorMoraji, 9020, 50, 0, 50); // Use Moraji's death SPCHSFX, also lower volume
-#endif // BLADERUNNER_ORIGINAL_BUGS
+#endif // BLADERUNNER_RESTORED_CUT_CONTENT
}
_animationFrame = -1;
_animationState = 13;
diff --git a/engines/bladerunner/script/ai/zuben.cpp b/engines/bladerunner/script/ai/zuben.cpp
index 8b85126f64..a24a0b631c 100644
--- a/engines/bladerunner/script/ai/zuben.cpp
+++ b/engines/bladerunner/script/ai/zuben.cpp
@@ -1162,11 +1162,10 @@ bool AIScriptZuben::ChangeAnimationMode(int mode) {
break;
case kAnimationModeDie:
Actor_Set_Targetable(kActorZuben, false);
-#if BLADERUNNER_ORIGINAL_BUGS
- // original code uses no voice here
-#else
+#if BLADERUNNER_RESTORED_CUT_CONTENT
+ // original code used no voice here
Sound_Play_Speech_Line(kActorZuben, 9020, 75, 0, 99); // add Zuben's death rattle here
-#endif // BLADERUNNER_ORIGINAL_BUGS
+#endif // BLADERUNNER_RESTORED_CUT_CONTENT
switch (_animationState) {
case 2:
case 4: