aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRat <none@none>2010-06-05 19:13:00 +0200
committerRat <none@none>2010-06-05 19:13:00 +0200
commita2d6e7ff8c95e688adc625c01387af2ca3cde3a0 (patch)
tree9ff50fa08cfdf4031a367462460e6279946b18a9 /src
parent09970c3c720855381c3f7851b9444cb2647b38bb (diff)
fixed warning in conditions thx to JohnHoliver
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/ConditionMgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ConditionMgr.h b/src/game/ConditionMgr.h
index ebb7d2bb0a6..bc2ce8d01a2 100644
--- a/src/game/ConditionMgr.h
+++ b/src/game/ConditionMgr.h
@@ -110,7 +110,7 @@ struct Condition
ErrorTextd = 0;
}
bool Meets(Player * player, Unit* targetOverride = NULL);
- bool isLoaded() { return mConditionType > CONDITION_SOURCE_TYPE_NONE || mReferenceId; }
+ bool isLoaded() { return mConditionType > CONDITION_NONE || mReferenceId; }
};
typedef std::list<Condition*> ConditionList;