@@ -234,13 +234,13 @@ static void NetworkClientError(byte res,
_networking = false;
DeleteWindowById(WC_NETWORK_STATUS_WINDOW, 0);
return;
}
switch(res) {
switch (res) {
case NETWORK_RECV_STATUS_DESYNC: errorno = NETWORK_ERROR_DESYNC; break;
case NETWORK_RECV_STATUS_SAVEGAME: errorno = NETWORK_ERROR_SAVEGAME_FAILED; break;
default: errorno = NETWORK_ERROR_GENERAL;
// This means we fucked up and the server closed the connection
if (res != NETWORK_RECV_STATUS_SERVER_ERROR && res != NETWORK_RECV_STATUS_SERVER_FULL &&
@@ -1165,13 +1165,13 @@ static void NetworkHandleLocalQueue(void
free(cp);
// Just a safety check, to be removed in the future.
// Make sure that no older command appears towards the end of the queue
// In that case we missed executing it. This will never happen.
for(cp = _local_command_queue; cp; cp = cp->next) {
for (cp = _local_command_queue; cp; cp = cp->next) {
assert(_frame_counter < cp->frame);
static bool NetworkDoClientLoop(void)