aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge
diff options
context:
space:
mode:
authorD G Turner2019-10-03 04:13:49 +0100
committerD G Turner2019-10-03 04:13:49 +0100
commite698625916cbdbb8a7d1a058923ee5cf618e45d9 (patch)
tree96ae8d3a74547160ba040f7586f4d6c0aa6a5cf1 /engines/sludge
parent743d64bf539881c3850c79573d92a58c3c36b166 (diff)
downloadscummvm-rg350-e698625916cbdbb8a7d1a058923ee5cf618e45d9.tar.gz
scummvm-rg350-e698625916cbdbb8a7d1a058923ee5cf618e45d9.tar.bz2
scummvm-rg350-e698625916cbdbb8a7d1a058923ee5cf618e45d9.zip
SLUDGE: Fix Remaining MSVC Warning
Diffstat (limited to 'engines/sludge')
-rw-r--r--engines/sludge/people.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sludge/people.cpp b/engines/sludge/people.cpp
index 6cc0ddbe33..c5f9c9dacc 100644
--- a/engines/sludge/people.cpp
+++ b/engines/sludge/people.cpp
@@ -566,7 +566,7 @@ bool PeopleManager::walkMe(OnScreenPerson *thisPerson, bool move) {
yDiff = (thisPerson->thisStepY - thisPerson->y) * 2;
s = thisPerson->scale * thisPerson->walkSpeed;
if (s < 0.2)
- s = 0.2;
+ s = (float)0.2;
maxDiff = (ABS(xDiff) >= ABS(yDiff)) ? ABS(xDiff) : ABS(yDiff);