Remove phasing when player enters/leaves instance (by 2010phenix)

Closes issue #3279

--HG--
branch : trunk
This commit is contained in:
azazel
2010-08-06 00:24:11 +06:00
parent f9a51dc214
commit 309970936c
@@ -19842,7 +19842,6 @@ void Player::UpdateHomebindTime(uint32 time)
if (time >= m_HomebindTimer)
{
// teleport to nearest graveyard
SetPhaseMask(1,true);
RepopAtGraveyard();
}
else
@@ -19858,7 +19857,6 @@ void Player::UpdateHomebindTime(uint32 time)
data << uint32(1);
GetSession()->SendPacket(&data);
sLog.outDebug("PLAYER: Player '%s' (GUID: %u) will be teleported to homebind in 60 seconds", GetName(),GetGUIDLow());
SetPhaseMask(2,true);
}
}