aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-14 09:01:55 -0600
committermegamage <none@none>2009-03-14 09:01:55 -0600
commite82dd549b881609dc736837012f5daf71d941bb9 (patch)
tree55064c57e4c8faddeb4a1b78164f3e8f024ce84f
parent32604a75f694fa7182961a540a79c9a5060d0348 (diff)
*Fix a typo that causes crash.
--HG-- branch : trunk
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 76a2cb264d4..848fe87cd0b 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -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;