diff options
author | Eugene Sandulenko | 2018-03-08 23:39:56 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-03-08 23:39:56 +0100 |
commit | 3f4c54355c7ee83c0cf3c3f7fc7d7d968f8518f0 (patch) | |
tree | 9ea52c45e60b1ad628f723abf5cd0b7916af8615 /engines/bladerunner/script/ai/shoeshine_man.cpp | |
parent | 7cc85b156b9680b7ae1dcf146fbc2b654eedaa3d (diff) | |
download | scummvm-rg350-3f4c54355c7ee83c0cf3c3f7fc7d7d968f8518f0.tar.gz scummvm-rg350-3f4c54355c7ee83c0cf3c3f7fc7d7d968f8518f0.tar.bz2 scummvm-rg350-3f4c54355c7ee83c0cf3c3f7fc7d7d968f8518f0.zip |
BLADERUNNER: Cleanup floating point constants
Diffstat (limited to 'engines/bladerunner/script/ai/shoeshine_man.cpp')
-rw-r--r-- | engines/bladerunner/script/ai/shoeshine_man.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/script/ai/shoeshine_man.cpp b/engines/bladerunner/script/ai/shoeshine_man.cpp index da31bb810b..2b8eb04fc8 100644 --- a/engines/bladerunner/script/ai/shoeshine_man.cpp +++ b/engines/bladerunner/script/ai/shoeshine_man.cpp @@ -56,7 +56,7 @@ void AIScriptShoeshineMan::ClickedByPlayer() { if (Actor_Query_Goal_Number(kActorShoeshineMan) != 100) return; - if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -1098.15, -0.039999999, -201.53, 0, true, false, 0)) { + if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -1098.15, -0.04, -201.53, 0, true, false, 0)) { Actor_Set_Goal_Number(kActorShoeshineMan, 102); Actor_Face_Actor(kActorMcCoy, kActorShoeshineMan, true); Actor_Says_With_Pause(kActorShoeshineMan, 0, 1.2, 13); @@ -104,7 +104,7 @@ bool AIScriptShoeshineMan::GoalChanged(int currentGoalNumber, int newGoalNumber) if (newGoalNumber - 100 <= 1) { if (newGoalNumber == 100) { Actor_Put_In_Set(kActorShoeshineMan, kSetDR01_DR02_DR04); - Actor_Set_At_XYZ(kActorShoeshineMan, -1160.0, -0.039999999, -235.0, 524); + Actor_Set_At_XYZ(kActorShoeshineMan, -1160.0, -0.04, -235.0, 524); } else { AI_Movement_Track_Flush(kActorShoeshineMan); AI_Movement_Track_Append(kActorShoeshineMan, 281, 0); |