diff options
author | D G Turner | 2019-10-03 04:13:49 +0100 |
---|---|---|
committer | D G Turner | 2019-10-03 04:13:49 +0100 |
commit | e698625916cbdbb8a7d1a058923ee5cf618e45d9 (patch) | |
tree | 96ae8d3a74547160ba040f7586f4d6c0aa6a5cf1 /engines | |
parent | 743d64bf539881c3850c79573d92a58c3c36b166 (diff) | |
download | scummvm-rg350-e698625916cbdbb8a7d1a058923ee5cf618e45d9.tar.gz scummvm-rg350-e698625916cbdbb8a7d1a058923ee5cf618e45d9.tar.bz2 scummvm-rg350-e698625916cbdbb8a7d1a058923ee5cf618e45d9.zip |
SLUDGE: Fix Remaining MSVC Warning
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sludge/people.cpp | 2 |
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); |