equal
deleted
inserted
replaced
838 |
838 |
839 // If this fails, check the array above with network_data.h |
839 // If this fails, check the array above with network_data.h |
840 assert_compile(lengthof(_network_client_packet) == PACKET_END); |
840 assert_compile(lengthof(_network_client_packet) == PACKET_END); |
841 |
841 |
842 // Is called after a client is connected to the server |
842 // Is called after a client is connected to the server |
843 void NetworkClient_Connected(void) |
843 void NetworkClient_Connected() |
844 { |
844 { |
845 // Set the frame-counter to 0 so nothing happens till we are ready |
845 // Set the frame-counter to 0 so nothing happens till we are ready |
846 _frame_counter = 0; |
846 _frame_counter = 0; |
847 _frame_counter_server = 0; |
847 _frame_counter_server = 0; |
848 last_ack_frame = 0; |
848 last_ack_frame = 0; |