aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-15 17:33:36 -0600
committermegamage <none@none>2009-02-15 17:33:36 -0600
commitbb75ff7b79e89dac82f3ee1c740eb6079c7ec43b (patch)
treea48ea1fe70e395573e7ca4be4058fe894bbc2bdf /src/game/SpellAuras.cpp
parent058b7c32e40332a620d8e294b4defba81e14dfc0 (diff)
*Cleanup of charm/farsight code. Hope this can fix some crash bugs.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 39954b0107d..5c03f41def7 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -2172,11 +2172,11 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
{
Creature *totem = ObjectAccessor::GetCreature(*caster, guid);
if (totem && totem->isTotem())
- totem->AddPlayerToVision((Player*)caster);
+ ((Player*)caster)->CastSpell(totem, 6277, true);
}
}
else
- ((Player*)caster)->RemoveFarsightTarget();
+ ((Player*)caster)->StopCastingBindSight();
return;
}
break;