Slight protocol change in game over function
This commit is contained in:
@@ -238,6 +238,8 @@ void StepManiaLanServer::GameOver(PacketFunctions &Packet, int clientNum) {
|
|||||||
Reply.ClearPacket();
|
Reply.ClearPacket();
|
||||||
Reply.Write1( 4+128 );
|
Reply.Write1( 4+128 );
|
||||||
Reply.Write1( (uint8_t) numPlayers );
|
Reply.Write1( (uint8_t) numPlayers );
|
||||||
|
for (int x = 0; x < numPlayers; x++)
|
||||||
|
Reply.Write4(playersPtr[x]->PlayerID);
|
||||||
for (int x = 0; x < numPlayers; x++)
|
for (int x = 0; x < numPlayers; x++)
|
||||||
Reply.Write4(playersPtr[x]->score);
|
Reply.Write4(playersPtr[x]->score);
|
||||||
for (int x = 0; x < numPlayers; x++)
|
for (int x = 0; x < numPlayers; x++)
|
||||||
|
|||||||
Reference in New Issue
Block a user