This commit is contained in:
QAston committed 2012-02-21 20:17:45 +01:00
1 parent f09b5a6bea
commit 18948755ca
3 files changed
+1 -1

No files matched your search

@@ -589,6 +589,7 @@ bool ConditionMgr::CanHaveSourceGroupSet(ConditionSourceType sourceType) const
sourceType == CONDITION_SOURCE_TYPE_GOSSIP_MENU_OPTION ||
sourceType == CONDITION_SOURCE_TYPE_VEHICLE_SPELL ||
sourceType == CONDITION_SOURCE_TYPE_SPELL_IMPLICIT_TARGET ||
sourceType == CONDITION_SOURCE_TYPE_SPELL_CLICK_EVENT ||
sourceType == CONDITION_SOURCE_TYPE_SMART_EVENT);
}
@@ -218,7 +218,6 @@ class ConditionMgr
bool addToSpellImplicitTargetConditions(Condition* cond);
bool IsObjectMeetToConditionList(ConditionSourceInfo& sourceInfo, ConditionList const& conditions);
sourceType == CONDITION_SOURCE_TYPE_SPELL_CLICK_EVENT ||
void Clean(); // free up resources
std::list<Condition*> AllocatedMemoryStore; // some garbage collection :)