From e698625916cbdbb8a7d1a058923ee5cf618e45d9 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 3 Oct 2019 04:13:49 +0100 Subject: SLUDGE: Fix Remaining MSVC Warning --- engines/sludge/people.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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); -- cgit v1.2.3