aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 6f7985331c7..064e4db969e 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -20158,7 +20158,7 @@ void Player::StopCastingBindSight()
if (WorldObject* target = GetFarsightTarget())
{
if (target->isType(TYPEMASK_UNIT))
- ((Unit*)target)->RemoveSpellsCausingAura(SPELL_AURA_BIND_SIGHT);
+ ((Unit*)target)->RemoveAuraTypeByCaster(SPELL_AURA_BIND_SIGHT, GetGUID());
}
}