diff options
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); |