fixed warning in conditions thx to JohnHoliver

--HG--
branch : trunk
This commit is contained in:
Rat
2010-06-05 19:13:00 +02:00
parent 09970c3c72
commit a2d6e7ff8c
+1 -1
View File
@@ -110,7 +110,7 @@ struct Condition
ErrorTextd = 0; ErrorTextd = 0;
} }
bool Meets(Player * player, Unit* targetOverride = NULL); 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; typedef std::list<Condition*> ConditionList;