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/StarSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/StarSystem.cpp') diff --git a/Stars45/StarSystem.cpp b/Stars45/StarSystem.cpp index b403cdb..bd8556d 100644 --- a/Stars45/StarSystem.cpp +++ b/Stars45/StarSystem.cpp @@ -936,7 +936,7 @@ StarSystem::ParseTerrain(TermStruct* val) weather.SetPeriod(w_period); - for (i = 0; i < Weather::NUM_STATES; i++) + for (int i = 0; i < Weather::NUM_STATES; i++) weather.SetChance(i, w_chances[i]); region->LoadSkyColors(sky_name); -- cgit v1.1