diff options
author | Le Philousophe | 2019-06-30 16:43:32 +0200 |
---|---|---|
committer | Le Philousophe | 2019-06-30 16:46:32 +0200 |
commit | 38bead0c37c61e118378053659a2874830bbb85a (patch) | |
tree | af55ad641838a27c288076a91dee6c14d9ff8469 /engines/cryomni3d/wam_parser.cpp | |
parent | cabcf240b40c67d4777031bdef28e2a36c81c26d (diff) | |
download | scummvm-rg350-38bead0c37c61e118378053659a2874830bbb85a.tar.gz scummvm-rg350-38bead0c37c61e118378053659a2874830bbb85a.tar.bz2 scummvm-rg350-38bead0c37c61e118378053659a2874830bbb85a.zip |
JANITORIAL/CRYOMNI3D: Fix warnings in MSVC
Most of them were due to setting -1 to unsigned values
Else it was bogus unintialized values
Diffstat (limited to 'engines/cryomni3d/wam_parser.cpp')
-rw-r--r-- | engines/cryomni3d/wam_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cryomni3d/wam_parser.cpp b/engines/cryomni3d/wam_parser.cpp index 8119cda47b..852cc98e40 100644 --- a/engines/cryomni3d/wam_parser.cpp +++ b/engines/cryomni3d/wam_parser.cpp @@ -122,7 +122,7 @@ Place *WAMParser::findPlaceById_(uint placeId) { } void Place::setupWarpConstraints(Omni3DManager &omni3d) const { - int16 iAlphaMin, iAlphaMax; + int16 iAlphaMin = -32768, iAlphaMax = 32767; bool alphaConstraint = false; omni3d.clearConstraints(); |