Prevent reads from uninitialized ship_footprint variable; bug #1150; thanks for Louis Delacroix

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3775 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2012-02-25 20:15:23 +00:00
parent c9c3fe6eff
commit 4633ec6e6a
+1 -1
View File
@@ -1092,7 +1092,7 @@ if (!(ShipPtr->state_flags & FINITE_LIFE)
if (GRAVITY_MASS (ed.ObjectPtr->mass_points))
{
COUNT maneuver_turn, ship_bounds;
RECT ship_footprint;
RECT ship_footprint = {{0, 0}, {0, 0}};
if (UltraManeuverable)
maneuver_turn = 16;