From 64ee4a54f4730cdf777d75694ab48280f543ac88 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 8 Dec 2011 18:12:44 +0000 Subject: More scoping fixes --- Stars45/Mission.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Stars45/Mission.cpp') diff --git a/Stars45/Mission.cpp b/Stars45/Mission.cpp index be8a711..eaa89b0 100644 --- a/Stars45/Mission.cpp +++ b/Stars45/Mission.cpp @@ -1183,7 +1183,7 @@ Mission::ParseLoadout(TermStruct* val, MissionElement* element) if (name.length()) load->SetName(name); - for (i = 0; i < 16; i++) + for (int i = 0; i < 16; i++) load->SetStation(i, stations[i]); element->loadouts.append(load); @@ -2137,7 +2137,7 @@ MissionShip::MissionShip() for (int i = 0; i < 16; i++) ammo[i] = -10; - for (i = 0; i < 4; i++) + for (int i = 0; i < 4; i++) fuel[i] = -10; } -- cgit v1.1