This commit is contained in:
Shauren
2013-11-02 13:46:10 +01:00
parent 39175ac680
commit 0ee3093536
+1 -1
View File
@@ -2190,7 +2190,7 @@ bool Player::TeleportTo(uint32 mapid, float x, float y, float z, float orientati
{
Position oldPos;
GetPosition(&oldPos);
Relocate(z, y, z, orientation);
Relocate(x, y, z, orientation);
SendTeleportAckPacket();
SendTeleportPacket(oldPos); // this automatically relocates to oldPos in order to broadcast the packet in the right place
}