Fixed typo in 39175ac680
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user