Totem* casts.

--HG--
branch : trunk
This commit is contained in:
raczman committed 2010-03-10 07:58:11 +01:00
1 parent ac270db251
commit 7fd1789109
4 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -506,7 +506,7 @@ void WorldSession::HandleTotemDestroyed( WorldPacket& recvPacket)
Creature* totem = GetPlayer()->GetMap()->GetCreature(_player->m_SummonSlot[slotId]);
// Don't unsummon sentry totem
if(totem && totem->isTotem() && totem->GetEntry() != SENTRY_TOTEM_ENTRY)
((Totem*)totem)->UnSummon();
totem->ToTotem()->UnSummon();
}
void WorldSession::HandleSelfResOpcode( WorldPacket & /*recv_data*/ )