Major redesign: Using game ids and player ids in gui (associated with tree view items).
Player list of all network games is now dynamically updated in lobby (no polling, server sends events).
This commit is contained in:
@@ -1091,7 +1091,7 @@ NetPacketGameListNew::GetData(NetPacketGameListNew::Data &outData) const
|
||||
// Store all available players.
|
||||
for (int i = 0; i < curNumPlayers; i++)
|
||||
{
|
||||
outData.gameInfo.players.push_back(*tmpPlayer);
|
||||
outData.gameInfo.players.push_back(ntohl(*tmpPlayer));
|
||||
++tmpPlayer;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user