summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Mission.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Mission.cpp')
-rw-r--r--Stars45/Mission.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}