summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Campaign.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Campaign.cpp')
-rw-r--r--Stars45/Campaign.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Stars45/Campaign.cpp b/Stars45/Campaign.cpp
index 499e36a..9a88e5d 100644
--- a/Stars45/Campaign.cpp
+++ b/Stars45/Campaign.cpp
@@ -848,7 +848,7 @@ Campaign::ParseAction(TermStruct* val, const char* filename)
int act = 0;
int stat = CombatAction::COMPLETE;
- bool not = false;
+ bool _not = false;
Combatant* c1 = 0;
Combatant* c2 = 0;
@@ -870,7 +870,7 @@ Campaign::ParseAction(TermStruct* val, const char* filename)
stat = CombatAction::StatusFromName(txt);
}
else if (pdef2->name()->value() == "not") {
- GetDefBool(not, pdef2, filename);
+ GetDefBool(_not, pdef2, filename);
}
else if (pdef2->name()->value() == "c1") {
@@ -913,7 +913,7 @@ Campaign::ParseAction(TermStruct* val, const char* filename)
}
if (act)
- action->AddRequirement(act, stat, not);
+ action->AddRequirement(act, stat, _not);
else if (gtype)
action->AddRequirement(c1, gtype, gid, comp, score, intel);