aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-02 20:27:10 -0600
committermegamage <none@none>2009-04-02 20:27:10 -0600
commitf2e88cae5188b4b1d0451c4a760793a3d881b0b0 (patch)
tree2157a28e0742abee9c4a6ba6b9db0f696d4607f7 /src/game/Unit.cpp
parent43b9dbe31eb5b5648b6ca95e03ec41041b11589d (diff)
*Fix some visibility bug.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 900f060931f..50a8748329d 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -12810,6 +12810,9 @@ void Unit::RemoveAurasAtChanneledTarget(SpellEntry const* spellInfo, Unit * cast
void Unit::SetToNotify()
{
+ if(m_IsInNotifyList)
+ return;
+
if(Map *map = GetMap())
map->AddUnitToNotify(this);
}