mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[10080] Fixed ghost teleport and cleanup code.
This commit is contained in:
parent
6bfd0aa5b5
commit
e63dc32f4d
4 changed files with 28 additions and 27 deletions
|
|
@ -876,7 +876,7 @@ void WorldSession::ExecuteOpcode( OpcodeHandler const& opHandle, WorldPacket* pa
|
|||
|
||||
//we should execute delayed teleports only for alive(!) players
|
||||
//because we don't want player's ghost teleported from graveyard
|
||||
if (_player->IsHasDelayedTeleport() && _player->isAlive())
|
||||
if (_player->IsHasDelayedTeleport())
|
||||
_player->TeleportTo(_player->m_teleport_dest, _player->m_teleport_options);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue