[Scummvm-git-logs] scummvm master -> e698625916cbdbb8a7d1a058923ee5cf618e45d9

digitall 547637+digitall at users.noreply.github.com
Thu Oct 3 05:17:15 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e698625916 SLUDGE: Fix Remaining MSVC Warning


Commit: e698625916cbdbb8a7d1a058923ee5cf618e45d9
    https://github.com/scummvm/scummvm/commit/e698625916cbdbb8a7d1a058923ee5cf618e45d9
Author: D G Turner (digitall at scummvm.org)
Date: 2019-10-03T04:13:49+01:00

Commit Message:
SLUDGE: Fix Remaining MSVC Warning

Changed paths:
    engines/sludge/people.cpp


diff --git a/engines/sludge/people.cpp b/engines/sludge/people.cpp
index 6cc0ddb..c5f9c9d 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);
 





More information about the Scummvm-git-logs mailing list