From 4221c1b4412f2bf889bd603a26424003f5367f6a Mon Sep 17 00:00:00 2001 From: red-001 Date: Thu, 8 Jun 2017 14:30:09 +0100 Subject: Have the server send the player list to the client (#5924) * Have the server send the player list to the client Currently the client generates the player list based on the Client active object list, the issue with this is that we can't be sure all player active objects will be sent to the client, so this could result in players showing up when someone run `/status` but auto complete not working with their nick and CSM not being aware of the player --- src/client.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index 9aec0d061..c94936d85 100644 --- a/src/client.h +++ b/src/client.h @@ -348,6 +348,7 @@ public: void handleCommand_OverrideDayNightRatio(NetworkPacket* pkt); void handleCommand_LocalPlayerAnimations(NetworkPacket* pkt); void handleCommand_EyeOffset(NetworkPacket* pkt); + void handleCommand_UpdatePlayerList(NetworkPacket* pkt); void handleCommand_SrpBytesSandB(NetworkPacket* pkt); void ProcessData(NetworkPacket *pkt); -- cgit v1.2.3