diff options
author | D G Turner | 2019-09-15 22:47:43 +0100 |
---|---|---|
committer | D G Turner | 2019-09-15 22:47:43 +0100 |
commit | 971b16fdac565113cd8fd2717837acae75108f31 (patch) | |
tree | 3bcd00a4e93dcd1f09146b469128da99d8fe8c32 /engines/scumm | |
parent | 2c21c1a25e6ee1414fe33d29bed59c280bef7739 (diff) | |
download | scummvm-rg350-971b16fdac565113cd8fd2717837acae75108f31.tar.gz scummvm-rg350-971b16fdac565113cd8fd2717837acae75108f31.tar.bz2 scummvm-rg350-971b16fdac565113cd8fd2717837acae75108f31.zip |
SCUMM: HE: Fix MSVC Warning
This was reported by Henke37 on IRC.
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/he/logic/soccer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/logic/soccer.cpp b/engines/scumm/he/logic/soccer.cpp index e01363c1f2..567f74efc9 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)); |