From 38bead0c37c61e118378053659a2874830bbb85a Mon Sep 17 00:00:00 2001 From: Le Philousophe Date: Sun, 30 Jun 2019 16:43:32 +0200 Subject: JANITORIAL/CRYOMNI3D: Fix warnings in MSVC Most of them were due to setting -1 to unsigned values Else it was bogus unintialized values --- engines/cryomni3d/wam_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/cryomni3d/wam_parser.cpp') 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(); -- cgit v1.2.3