Tells the client that we're done sending players
| 935 | |
| 936 | // Tells the client that we're done sending players |
| 937 | void MultiSendDonePlayers(int slot) { |
| 938 | int size; |
| 939 | uint8_t data[MAX_GAME_DATA_SIZE]; |
| 940 | int count = 0; |
| 941 | |
| 942 | mprintf(0, "Sending done players\n"); |
| 943 | |
| 944 | size = START_DATA(MP_DONE_PLAYERS, data, &count); |
| 945 | int num = MultiCountPlayers(); |
| 946 | MultiAddByte(num, data, &count); |
| 947 | END_DATA(count, data, size); |
| 948 | |
| 949 | nw_SendReliable(NetPlayers[slot].reliable_socket, data, count); |
| 950 | } |
| 951 | |
| 952 | // Tells the client that we're done sending buildings |
| 953 | void MultiSendDoneBuildings(int slot) { |
no test coverage detected