diff options
author | Thanasis Antoniou | 2019-07-11 14:52:21 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-07-11 16:15:05 +0300 |
commit | 0195599ea25306a8a612875322a130826109785a (patch) | |
tree | 99456fb8f0716fbafd52d096949e866fa7554202 | |
parent | 3cb90082acb6fa238bc9fb7adb6d9db7674d1ced (diff) | |
download | scummvm-rg350-0195599ea25306a8a612875322a130826109785a.tar.gz scummvm-rg350-0195599ea25306a8a612875322a130826109785a.tar.bz2 scummvm-rg350-0195599ea25306a8a612875322a130826109785a.zip |
BLADERUNNER: Prevent Clovis from rotating in KP07
This is when he is dying/ lying on the bed
-rw-r--r-- | engines/bladerunner/script/ai/clovis.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/bladerunner/script/ai/clovis.cpp b/engines/bladerunner/script/ai/clovis.cpp index c5b29d9e29..82ab236c02 100644 --- a/engines/bladerunner/script/ai/clovis.cpp +++ b/engines/bladerunner/script/ai/clovis.cpp @@ -402,14 +402,16 @@ bool AIScriptClovis::GoalChanged(int currentGoalNumber, int newGoalNumber) { Global_Variable_Increment(kVariableReplicantsSurvivorsAtMoonbus, 1); Actor_Set_At_XYZ(kActorClovis, 45.0f, -41.52f, -85.0f, 750); } else { - Actor_Set_At_XYZ(kActorClovis, 84.85f, -50.56f, -68.87f, 800); - Actor_Face_Heading(kActorClovis, 1022, false); #if BLADERUNNER_ORIGINAL_BUGS + Actor_Set_At_XYZ(kActorClovis, 84.85f, -50.56f, -68.87f, 800); #else // same as kGoalClovisKP07LayDown // Actor_Set_Targetable(kActorClovis, true) is already done above Game_Flag_Set(kFlagClovisLyingDown); + // prevent Clovis rotating while lying on the bed when McCoy enters KP07 + Actor_Set_At_XYZ(kActorClovis, 84.85f, -50.56f, -68.87f, 1022); #endif // BLADERUNNER_ORIGINAL_BUGS + Actor_Face_Heading(kActorClovis, 1022, false); } someAnim(); return true; @@ -532,7 +534,12 @@ bool AIScriptClovis::GoalChanged(int currentGoalNumber, int newGoalNumber) { return true; case kGoalClovisKP07LayDown: +#if BLADERUNNER_ORIGINAL_BUGS Actor_Set_At_XYZ(kActorClovis, 84.85f, -50.56f, -68.87f, 800); +#else + // prevent Clovis rotating while lying on the bed when McCoy enters KP07 + Actor_Set_At_XYZ(kActorClovis, 84.85f, -50.56f, -68.87f, 1022); +#endif // BLADERUNNER_ORIGINAL_BUGS Actor_Face_Heading(kActorClovis, 1022, false); Actor_Set_Targetable(kActorClovis, true); Game_Flag_Set(kFlagClovisLyingDown); |