summaryrefslogtreecommitdiffhomepage
path: root/Stars45/MissionTemplate.cpp
diff options
context:
space:
mode:
authorFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2011-12-08 18:12:44 +0000
committerFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2011-12-08 18:12:44 +0000
commit64ee4a54f4730cdf777d75694ab48280f543ac88 (patch)
treea353aa76807bd451c518f70b95c5880f807898cf /Stars45/MissionTemplate.cpp
parent4e117fe61651631c7b7427ed584ef3b1f9a7df69 (diff)
downloadstarshatter-64ee4a54f4730cdf777d75694ab48280f543ac88.zip
starshatter-64ee4a54f4730cdf777d75694ab48280f543ac88.tar.gz
starshatter-64ee4a54f4730cdf777d75694ab48280f543ac88.tar.bz2
More scoping fixes
Diffstat (limited to 'Stars45/MissionTemplate.cpp')
-rw-r--r--Stars45/MissionTemplate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/MissionTemplate.cpp b/Stars45/MissionTemplate.cpp
index dbb6ca9..d84df07 100644
--- a/Stars45/MissionTemplate.cpp
+++ b/Stars45/MissionTemplate.cpp
@@ -645,7 +645,7 @@ MissionTemplate::ParseAlias(TermStruct* val)
// re-parse the struct, dealing with stuff
// that needs to be attached to the element:
- for (i = 0; i < val->elements()->size(); i++) {
+ for (int i = 0; i < val->elements()->size(); i++) {
TermDef* pdef = val->elements()->at(i)->isDef();
if (pdef) {
Text defname = pdef->name()->value();