[Scummvm-git-logs] scummvm master -> 971b16fdac565113cd8fd2717837acae75108f31

digitall dgturner at iee.org
Sun Sep 15 23:50:41 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:
971b16fdac SCUMM: HE: Fix MSVC Warning


Commit: 971b16fdac565113cd8fd2717837acae75108f31
    https://github.com/scummvm/scummvm/commit/971b16fdac565113cd8fd2717837acae75108f31
Author: D G Turner (digitall at scummvm.org)
Date: 2019-09-15T22:47:43+01:00

Commit Message:
SCUMM: HE: Fix MSVC Warning

This was reported by Henke37 on IRC.

Changed paths:
    engines/scumm/he/logic/soccer.cpp


diff --git a/engines/scumm/he/logic/soccer.cpp b/engines/scumm/he/logic/soccer.cpp
index e01363c..567f74e 100644
--- a/engines/scumm/he/logic/soccer.cpp
+++ b/engines/scumm/he/logic/soccer.cpp
@@ -634,7 +634,7 @@ int LogicHEsoccer::op_1014(int32 srcX, int32 srcY, int32 srcZ, int32 velX, int32
 	// work out which collision objects we might collide with (if any)
 	if (generateCollisionObjectList(startX, startY, startZ, adjustedVelX, adjustedVelY, adjustedVelZ)) {
 		int collisionId = 0;
-		float v46; // always 1.0 after a collision due to op_1005
+		float v46 = 0.0; // always 1.0 after a collision due to op_1005
 
 		float collisionInfo[42 * 8];
 		memset(collisionInfo, 0, 42 * 8 * sizeof(float));





More information about the Scummvm-git-logs mailing list