Fix a typo, spotted by tigercop773. If the reset of the repo wasn´t entirely borked, this would have fixed compile.

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2010-06-07 13:24:32 +02:00
parent bef0ed9a7f
commit 24c720d899
+2 -2
View File
@@ -4336,11 +4336,11 @@ void Unit::RemoveAreaAurasDueToLeaveWorld()
void Unit::RemoveAllAuras()
{
AuraApplicationMap::iterator aurAppIter;
for (aurAppIter = m_appliedAuras.begin(); aurAppIter != m_appliedAuras.end())
for (aurAppIter = m_appliedAuras.begin(); aurAppIter != m_appliedAuras.end();)
_UnapplyAura(aurAppIter, AURA_REMOVE_BY_DEFAULT);
AuraMap::iterator aurIter;
for (aurIter = m_ownedAuras.begin(); aurIter != m_ownedAuras.end())
for (aurIter = m_ownedAuras.begin(); aurIter != m_ownedAuras.end();)
RemoveOwnedAura(aurIter);
}