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

This commit is contained in:
VladimirMangos 2009-05-31 06:26:58 +04:00
parent bf4201c0f4
commit 6e9339b093
2 changed files with 4 additions and 3 deletions

View file

@ -18891,7 +18891,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);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7923"
#define REVISION_NR "7924"
#endif // __REVISION_NR_H__