From e82dd549b881609dc736837012f5daf71d941bb9 Mon Sep 17 00:00:00 2001 From: megamage Date: Sat, 14 Mar 2009 09:01:55 -0600 Subject: [PATCH] *Fix a typo that causes crash. --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;