Sentry Totem can be unsummoned by totem timers opcode
Signed-off-by: dr.skull <[email protected]>
This commit is contained in:
@@ -514,8 +514,8 @@ void WorldSession::HandleTotemDestroyed(WorldPacket& recvPacket)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
Creature* totem = GetPlayer()->GetMap()->GetCreature(_player->m_SummonSlot[slotId]);
|
Creature* totem = GetPlayer()->GetMap()->GetCreature(_player->m_SummonSlot[slotId]);
|
||||||
// Don't unsummon sentry totem
|
|
||||||
if (totem && totem->isTotem() && totem->GetEntry() != SENTRY_TOTEM_ENTRY)
|
if (totem && totem->isTotem())
|
||||||
totem->ToTotem()->UnSummon();
|
totem->ToTotem()->UnSummon();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user