From 8fff8bcb3eb65a5ac636358421d4fb89ebd2c4db Mon Sep 17 00:00:00 2001 From: Thomas Fach-Pedersen Date: Fri, 4 Aug 2017 21:40:53 +0200 Subject: BLADERUNNER: Fix float conversion warning --- engines/bladerunner/script/ai/leon.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/bladerunner/script/ai/leon.cpp b/engines/bladerunner/script/ai/leon.cpp index 7c46ad083a..63dc3d4782 100644 --- a/engines/bladerunner/script/ai/leon.cpp +++ b/engines/bladerunner/script/ai/leon.cpp @@ -202,8 +202,8 @@ bool AIScriptLeon::GoalChanged(int currentGoalNumber, int newGoalNumber) { Actor_Says(kActorMcCoy, 565, 18); Actor_Face_Actor(kActorMcCoy, kActorLeon, true); Actor_Says(kActorLeon, 140, 12); - Actor_Says_With_Pause(kActorMcCoy, 570, 0.0, 17); - Actor_Says_With_Pause(kActorMcCoy, 575, 1.2, 13); + Actor_Says_With_Pause(kActorMcCoy, 570, 0.0f, 17); + Actor_Says_With_Pause(kActorMcCoy, 575, 1.2f, 13); Actor_Says(kActorLeon, 150, 3); Actor_Says(kActorMcCoy, 580, 3); Actor_Says(kActorLeon, 160, 13); -- cgit v1.2.3