*Run grid searches for area auras every 500ms instead of every unit update

*Fix a stupid typo which caused memory leak in Unit::RemoveOwnedAura

--HG--
branch : trunk
This commit is contained in:
QAston committed 2010-01-22 18:06:01 +01:00
1 parent 7bfea3fea3
commit c1aa60aaab
3 files changed
+11 -2

No files matched your search

+1
View File
@@ -3885,6 +3885,7 @@ void Unit::RemoveOwnedAura(AuraMap::iterator &i, AuraRemoveMode removeMode)
++m_auraUpdateIterator;
m_ownedAuras.erase(i);
m_removedAuras.push_back(aura);
// Unregister single target aura
if (aura->IsSingleTarget())