Is called after a client is connected to the server */
| 1185 | |
| 1186 | /** Is called after a client is connected to the server */ |
| 1187 | void NetworkClient_Connected() |
| 1188 | { |
| 1189 | /* Set the frame-counter to 0 so nothing happens till we are ready */ |
| 1190 | _frame_counter = 0; |
| 1191 | _frame_counter_server = 0; |
| 1192 | last_ack_frame = 0; |
| 1193 | |
| 1194 | Debug(net, 9, "Client::NetworkClient_Connected()"); |
| 1195 | |
| 1196 | /* Request the game-info */ |
| 1197 | MyClient::SendJoin(); |
| 1198 | } |
| 1199 | |
| 1200 | /** |
| 1201 | * Send a remote console command. |