diff options
| author | megamage <none@none> | 2008-12-08 16:34:03 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2008-12-08 16:34:03 -0600 |
| commit | ce643187f06cd0b3829ab90deff335f5c9ec5a84 (patch) | |
| tree | dc09eece1fc5dce2a942bdc27a4a045518ef9daa /src/game/Spell.cpp | |
| parent | 5321be4c0aa48daaf84ffd602d47e650e53403ef (diff) | |
*Update to Mangos 6888. Source: Mangos.
*Major change: Make corpse erase async, Avoid DB access on deleting guild member.
*Skip 6885 because of performance concern.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
| -rw-r--r-- | src/game/Spell.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 49a70082c35..a5052dbf07b 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -650,7 +650,7 @@ void Spell::FillTargetMap() /*if(m_caster->GetTypeId() == TYPEID_PLAYER) { Player *me = (Player*)m_caster; - for (std::list<Unit*>::const_iterator itr = tmpUnitMap.begin(); itr != tmpUnitMap.end(); itr++) + for (std::list<Unit*>::const_iterator itr = tmpUnitMap.begin(); itr != tmpUnitMap.end(); ++itr) { Unit *owner = (*itr)->GetOwner(); Unit *u = owner ? owner : (*itr); @@ -4584,7 +4584,7 @@ uint8 Spell::CheckCasterAuras() const { //Checking auras is needed now, because you are prevented by some state but the spell grants immunity. Unit::AuraMap const& auras = m_caster->GetAuras(); - for(Unit::AuraMap::const_iterator itr = auras.begin(); itr != auras.end(); itr++) + for(Unit::AuraMap::const_iterator itr = auras.begin(); itr != auras.end(); ++itr) { if(itr->second) { |
