aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/ai
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bladerunner/script/ai')
-rw-r--r--engines/bladerunner/script/ai/crazylegs.cpp2
-rw-r--r--engines/bladerunner/script/ai/early_q.cpp4
-rw-r--r--engines/bladerunner/script/ai/sebastian.cpp6
-rw-r--r--engines/bladerunner/script/ai/steele.cpp2
4 files changed, 7 insertions, 7 deletions
diff --git a/engines/bladerunner/script/ai/crazylegs.cpp b/engines/bladerunner/script/ai/crazylegs.cpp
index b4ed739844..e54e57dd36 100644
--- a/engines/bladerunner/script/ai/crazylegs.cpp
+++ b/engines/bladerunner/script/ai/crazylegs.cpp
@@ -82,7 +82,7 @@ void AIScriptCrazylegs::OtherAgentEnteredCombatMode(int otherActorId, int combat
Actor_Face_Actor(kActorCrazylegs, kActorMcCoy, true);
Actor_Face_Actor(kActorMcCoy, kActorCrazylegs, true);
Actor_Says(kActorCrazylegs, 430, 3);
- Actor_Says_With_Pause(kActorCrazylegs, 440, 0.0, 3);
+ Actor_Says_With_Pause(kActorCrazylegs, 440, 0.0f, 3);
Actor_Says(kActorMcCoy, 1870, -1);
Actor_Says(kActorCrazylegs, 450, 3);
Actor_Set_Goal_Number(kActorCrazylegs, kGoalCrazyLegsMcCoyDrewHisGun);
diff --git a/engines/bladerunner/script/ai/early_q.cpp b/engines/bladerunner/script/ai/early_q.cpp
index 1d98e98453..d78ca824a9 100644
--- a/engines/bladerunner/script/ai/early_q.cpp
+++ b/engines/bladerunner/script/ai/early_q.cpp
@@ -347,8 +347,8 @@ bool AIScriptEarlyQ::GoalChanged(int currentGoalNumber, int newGoalNumber) {
_vm->_aiScripts->callChangeAnimationMode(kActorMcCoy, kAnimationModeCombatAim);
Actor_Says(kActorEarlyQ, 130, kAnimationModeTalk);
Actor_Says(kActorMcCoy, 3400, kAnimationModeCombatAim);
- Actor_Says_With_Pause(kActorEarlyQ, 140, 1.0, kAnimationModeTalk);
- Actor_Says_With_Pause(kActorEarlyQ, 150, 1.0, kAnimationModeTalk);
+ Actor_Says_With_Pause(kActorEarlyQ, 140, 1.0f, kAnimationModeTalk);
+ Actor_Says_With_Pause(kActorEarlyQ, 150, 1.0f, kAnimationModeTalk);
Actor_Says(kActorMcCoy, 3405, kAnimationModeCombatAim);
Actor_Says(kActorEarlyQ, 160, kAnimationModeTalk);
Actor_Says(kActorMcCoy, 3410, kAnimationModeCombatAim);
diff --git a/engines/bladerunner/script/ai/sebastian.cpp b/engines/bladerunner/script/ai/sebastian.cpp
index d5032ebec4..64f272e854 100644
--- a/engines/bladerunner/script/ai/sebastian.cpp
+++ b/engines/bladerunner/script/ai/sebastian.cpp
@@ -103,13 +103,13 @@ void AIScriptSebastian::OtherAgentEnteredCombatMode(int otherActorId, int combat
if (Global_Variable_Query(kVariableGunPulledInFrontOfSebastian) == 1) {
Actor_Says(kActorSebastian, 680, 12);
Actor_Face_Actor(kActorMcCoy, kActorSebastian, true);
- Actor_Says_With_Pause(kActorMcCoy, 7265, 0.0, kAnimationModeCombatIdle);
+ Actor_Says_With_Pause(kActorMcCoy, 7265, 0.0f, kAnimationModeCombatIdle);
Actor_Change_Animation_Mode(kActorMcCoy, kAnimationModeCombatIdle);
Delay(500);
Actor_Says(kActorSebastian, 690, 16);
} else {
Actor_Says(kActorSebastian, 700, 15);
- Actor_Says_With_Pause(kActorMcCoy, 7270, 0.0, kAnimationModeCombatIdle);
+ Actor_Says_With_Pause(kActorMcCoy, 7270, 0.0f, kAnimationModeCombatIdle);
Actor_Change_Animation_Mode(kActorMcCoy, kAnimationModeCombatIdle);
}
AI_Movement_Track_Unpause(kActorSebastian);
@@ -421,7 +421,7 @@ void AIScriptSebastian::dialogue() {
Actor_Says(kActorSebastian, 350, kAnimationModeTalk);
Actor_Says(kActorMcCoy, 7125, 13);
Actor_Says(kActorSebastian, 360, 17);
- Actor_Says_With_Pause(kActorMcCoy, 7130, 1.0, kAnimationModeTalk);
+ Actor_Says_With_Pause(kActorMcCoy, 7130, 1.0f, kAnimationModeTalk);
Actor_Says(kActorMcCoy, 7135, 18);
break;
diff --git a/engines/bladerunner/script/ai/steele.cpp b/engines/bladerunner/script/ai/steele.cpp
index 739ef95111..1ee7e5f572 100644
--- a/engines/bladerunner/script/ai/steele.cpp
+++ b/engines/bladerunner/script/ai/steele.cpp
@@ -801,7 +801,7 @@ bool AIScriptSteele::GoalChanged(int currentGoalNumber, int newGoalNumber) {
Actor_Face_Actor(kActorSteele, kActorIzo, true);
Actor_Change_Animation_Mode(kActorIzo, kAnimationModeIdle);
Actor_Face_Actor(kActorIzo, kActorSteele, true);
- Actor_Says_With_Pause(kActorSteele, 2010, 0.0, kAnimationModeCombatIdle);
+ Actor_Says_With_Pause(kActorSteele, 2010, 0.0f, kAnimationModeCombatIdle);
Actor_Change_Animation_Mode(kActorSteele, kAnimationModeCombatIdle);
Loop_Actor_Walk_To_Actor(kActorSteele, kActorIzo, 60, false, false);
Actor_Change_Animation_Mode(kActorSteele, kAnimationModeCombatIdle);