mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 13:37:01 +00:00
[12714] Implemented CMSG_RETURN_TO_GRAVEYARD
This commit is contained in:
parent
08913b2437
commit
7b67ada8e2
5 changed files with 12 additions and 1 deletions
|
|
@ -677,6 +677,14 @@ void WorldSession::HandleResurrectResponseOpcode(WorldPacket& recv_data)
|
|||
GetPlayer()->ResurectUsingRequestData(); // will call spawncorpsebones
|
||||
}
|
||||
|
||||
void WorldSession::HandleReturnToGraveyard(WorldPacket& /*recvPacket*/)
|
||||
{
|
||||
if (GetPlayer()->isAlive() || !GetPlayer()->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_GHOST))
|
||||
return;
|
||||
|
||||
GetPlayer()->RepopAtGraveyard();
|
||||
}
|
||||
|
||||
void WorldSession::HandleAreaTriggerOpcode(WorldPacket& recv_data)
|
||||
{
|
||||
DEBUG_LOG("WORLD: Received opcode CMSG_AREATRIGGER");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue