Core/Movement: MSG_MOVE_TELEPORT is not supposed to be sent to the player being teleported.

Thanks @vlad852
Closes #8798
Closes #8774
This commit is contained in:
Subv
2012-12-29 15:25:48 -05:00
parent 3d3a8107e0
commit 9bc339cd89

View File

@@ -17344,7 +17344,7 @@ void Unit::SendTeleportPacket(Position& pos)
Relocate(&oldPos);
if (GetTypeId() == TYPEID_PLAYER)
Relocate(&pos);
SendMessageToSet(&data2, true);
SendMessageToSet(&data2, false);
}
bool Unit::UpdatePosition(float x, float y, float z, float orientation, bool teleport)