diff options
author | megamage <none@none> | 2008-11-25 21:25:52 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-11-25 21:25:52 -0600 |
commit | 9bbf3e9493bea8e7195ebef3a18a2e6a64be2914 (patch) | |
tree | f53f15525e27aff0787ba7eec325a5cd53b35b3a /src/game/Unit.cpp | |
parent | 31fe63f6446c2decad7c4a48c7ea1bdb7f17a21f (diff) |
*Fix build.
*Fix the bug that janalai summons too many adds.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 3e09fefdd95..0ff6aacb5ef 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -4155,6 +4155,7 @@ void Unit::RemoveAura(AuraMap::iterator &i, AuraRemoveMode mode) } sLog.outDebug("Aura %u now is remove mode %d",Aur->GetModifier()->m_auraname, mode); + assert(!Aur->IsInUse()); Aur->ApplyModifier(false,true); Aur->_RemoveAura(); delete Aur; |