[7924] Not teleport player to non-player caster at ressurection. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-31 16:25:27 -05:00
parent 72cab37bcc
commit 5612f1221c
+2 -1
View File
@@ -19497,7 +19497,8 @@ uint32 Player::GetBaseWeaponSkillValue (WeaponAttackType attType) const
void Player::ResurectUsingRequestData() 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()); TeleportTo(m_resurrectMap, m_resurrectX, m_resurrectY, m_resurrectZ, GetOrientation());
ResurrectPlayer(0.0f,false); ResurrectPlayer(0.0f,false);