*Fix a typo that causes crash.
--HG-- branch : trunk
This commit is contained in:
1 parent
32604a75f6
commit
e82dd549b8
1 file changed
+1
-1
+1
-1
@@ -539,7 +539,7 @@ void Unit::RemoveAuraTypeByCaster(AuraType auraType, uint64 casterGUID)
|
||||
{
|
||||
if (auraType >= TOTAL_AURAS) return;
|
||||
AuraList::iterator iter, next;
|
||||
for(iter = m_modAuras[auraType].begin(); iter != m_modAuras[auraType].end(); ++iter)
|
||||
for(iter = m_modAuras[auraType].begin(); iter != m_modAuras[auraType].end(); iter = next)
|
||||
{
|
||||
next = iter;
|
||||
++next;
|
||||
|
||||
Reference in new issue
Block a user