[7924] Not teleport player to non-player caster at ressurection. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
+2
-1
@@ -19497,7 +19497,8 @@ uint32 Player::GetBaseWeaponSkillValue (WeaponAttackType attType) const
|
||||
|
||||
void Player::ResurectUsingRequestData()
|
||||
{
|
||||
/// Teleport before resurrecting, otherwise the player might get attacked from creatures near his corpse
|
||||
/// 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);
|
||||
|
||||
Reference in New Issue
Block a user