parent
5945166a98
commit
becb36d2d1
@ -584,7 +584,7 @@ void cProtocol125::SendPlayerListItem(const cPlayer & a_Player, bool a_IsOnline)
|
||||
WriteByte ((unsigned char)PACKET_PLAYER_LIST_ITEM);
|
||||
WriteString(PlayerName);
|
||||
WriteBool (a_IsOnline);
|
||||
WriteShort (a_Player.GetClientHandle()->GetPing());
|
||||
WriteShort (a_IsOnline ? a_Player.GetClientHandle()->GetPing() : 0);
|
||||
Flush();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user