aboutsummaryrefslogtreecommitdiff
path: root/src/game/Totem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Totem.cpp')
-rw-r--r--src/game/Totem.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/game/Totem.cpp b/src/game/Totem.cpp
index c7ea9b1f123..a82f273bdbc 100644
--- a/src/game/Totem.cpp
+++ b/src/game/Totem.cpp
@@ -99,10 +99,6 @@ void Totem::InitStats(uint32 duration)
void Totem::InitSummon()
{
- WorldPacket data(SMSG_GAMEOBJECT_SPAWN_ANIM_OBSOLETE, 8);
- data << GetGUID();
- SendMessageToSet(&data, true);
-
if(m_type == TOTEM_PASSIVE)
CastSpell(this, GetSpell(), true);
@@ -113,8 +109,6 @@ void Totem::InitSummon()
void Totem::UnSummon()
{
- SendObjectDeSpawnAnim(GetGUID());
-
CombatStop();
RemoveAurasDueToSpell(GetSpell());
@@ -134,6 +128,7 @@ void Totem::UnSummon()
Group *pGroup = NULL;
if (m_owner->GetTypeId() == TYPEID_PLAYER)
{
+ ((Player*)m_owner)->SendAutoRepeatCancel(this);
// Not only the player can summon the totem (scripted AI)
pGroup = ((Player*)m_owner)->GetGroup();
if (pGroup)