mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
[Server] Send other players position to loader
This commit is contained in:
parent
b0ebad8b83
commit
68c288761a
@ -185,6 +185,7 @@ void Networking::processPlayerPacket(RakNet::Packet *packet)
|
|||||||
player->forEachLoaded([this](Player *pl, Player *other) {
|
player->forEachLoaded([this](Player *pl, Player *other) {
|
||||||
playerController->GetPacket(ID_PLAYER_DYNAMICSTATS)->Send(other, pl->guid);
|
playerController->GetPacket(ID_PLAYER_DYNAMICSTATS)->Send(other, pl->guid);
|
||||||
playerController->GetPacket(ID_PLAYER_ATTRIBUTE)->Send(other, pl->guid);
|
playerController->GetPacket(ID_PLAYER_ATTRIBUTE)->Send(other, pl->guid);
|
||||||
|
playerController->GetPacket(ID_PLAYER_POS)->Send(other, pl->guid);
|
||||||
playerController->GetPacket(ID_PLAYER_SKILL)->Send(other, pl->guid);
|
playerController->GetPacket(ID_PLAYER_SKILL)->Send(other, pl->guid);
|
||||||
playerController->GetPacket(ID_PLAYER_EQUIPMENT)->Send(other, pl->guid);
|
playerController->GetPacket(ID_PLAYER_EQUIPMENT)->Send(other, pl->guid);
|
||||||
playerController->GetPacket(ID_PLAYER_DRAWSTATE)->Send(other, pl->guid);
|
playerController->GetPacket(ID_PLAYER_DRAWSTATE)->Send(other, pl->guid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user