mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7924] Not teleport player to non-player caster at ressurection.
This commit is contained in:
parent
bf4201c0f4
commit
6e9339b093
2 changed files with 4 additions and 3 deletions
|
|
@ -18891,8 +18891,9 @@ uint32 Player::GetBaseWeaponSkillValue (WeaponAttackType attType) const
|
|||
|
||||
void Player::ResurectUsingRequestData()
|
||||
{
|
||||
/// Teleport before resurrecting, otherwise the player might get attacked from creatures near his corpse
|
||||
TeleportTo(m_resurrectMap, m_resurrectX, m_resurrectY, m_resurrectZ, GetOrientation());
|
||||
/// Teleport before resurrecting by player, otherwise the player might get attacked from creatures near his corpse
|
||||
if(IS_PLAYER_GUID(m_resurrectGUID))
|
||||
TeleportTo(m_resurrectMap, m_resurrectX, m_resurrectY, m_resurrectZ, GetOrientation());
|
||||
|
||||
ResurrectPlayer(0.0f,false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue