aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-04-06 22:03:05 +0200
committerQAston <none@none>2009-04-06 22:03:05 +0200
commitbf8877342d6e98672f60dbbf53369f7f24da61e0 (patch)
tree4312c82f127a4a21934fcdbc0071d749c8b544c1 /src/game/Unit.cpp
parent1bd539103bfb99bd05a0f973eae259296dc00d57 (diff)
*Allow auras to be removed during other auras update.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-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 81c1e6f388a..a0ad4162064 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -4075,7 +4075,7 @@ void Unit::RemoveAura(AuraMap::iterator &i, AuraRemoveMode mode)
{
Aura* Aur = i->second;
//aura can be during update when removing, set it to remove at next update
- if (Aur->IsUpdated())
+ if (Aur->IsDuringUpdate())
{
Aur->RemoveAura();
return;