diff options
author | Filippos Karapetis | 2019-05-27 14:43:13 +0300 |
---|---|---|
committer | Filippos Karapetis | 2019-05-27 14:53:42 +0300 |
commit | 174721e911497ab232915da5ebed7c5d5f2b86ba (patch) | |
tree | 2b9ebfb8fa7f0b52e444469327ba8393f7963e47 /engines/scumm/he/logic/soccer.cpp | |
parent | 9da3d22703a0dc230d505e9839c3e33cc313b403 (diff) | |
download | scummvm-rg350-174721e911497ab232915da5ebed7c5d5f2b86ba.tar.gz scummvm-rg350-174721e911497ab232915da5ebed7c5d5f2b86ba.tar.bz2 scummvm-rg350-174721e911497ab232915da5ebed7c5d5f2b86ba.zip |
SCUMM: Fix MSVC warnings
- Change float suffix to uppercase
- Initialize potentially uninitialized variables
- Fix default cases in switch statements
Diffstat (limited to 'engines/scumm/he/logic/soccer.cpp')
-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 0efe482b5a..e01363c1f2 100644 --- a/engines/scumm/he/logic/soccer.cpp +++ b/engines/scumm/he/logic/soccer.cpp @@ -200,7 +200,7 @@ int LogicHEsoccer::op_1005(float x1, float y1, float z1, float x2, float y2, flo *nextVelX = x2 - 2 * dot * x1; *nextVelY = y2 - 2 * dot * y1; *nextVelZ = z2 - 2 * dot * z1; - *a10 = 1.0f; // It always does this. How curious! + *a10 = 1.0F; // It always does this. How curious! return 1; } |