mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 00:19:59 +01:00
Sentry Totem can be unsummoned by totem timers opcode
Signed-off-by: dr.skull <dr.skull@centrum.sk>
This commit is contained in:
@@ -514,8 +514,8 @@ void WorldSession::HandleTotemDestroyed(WorldPacket& recvPacket)
|
||||
return;
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user