This commit is contained in:
QAston
2012-02-21 20:17:32 +01:00
parent f09b5a6bea
commit 18948755ca
3 changed files with 1 additions and 1 deletions

View File

@@ -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);
}

View File

@@ -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 :)