From 3e031faa96b3571f02208955f89f7f41dbf6aba6 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sun, 19 Feb 2017 23:30:43 +0200 Subject: [PATCH] [Server] Exchange position information correctly between players --- apps/openmw-mp/Networking.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw-mp/Networking.cpp b/apps/openmw-mp/Networking.cpp index 74ad23478..352756f53 100644 --- a/apps/openmw-mp/Networking.cpp +++ b/apps/openmw-mp/Networking.cpp @@ -174,7 +174,7 @@ void Networking::processPlayerPacket(RakNet::Packet *packet) playerController->GetPacket(ID_PLAYER_DYNAMICSTATS)->Send(other, pl->guid); playerController->GetPacket(ID_PLAYER_ATTRIBUTE)->Send(other, pl->guid); playerController->GetPacket(ID_PLAYER_SKILL)->Send(other, pl->guid); - playerController->GetPacket(ID_PLAYER_POS)->Send(pl, pl->guid); + playerController->GetPacket(ID_PLAYER_POS)->Send(other, pl->guid); playerController->GetPacket(ID_PLAYER_EQUIPMENT)->Send(other, pl->guid); playerController->GetPacket(ID_PLAYER_ATTACK)->Send(other, pl->guid); playerController->GetPacket(ID_PLAYER_DRAWSTATE)->Send(other, pl->guid);