(svn r20549) -Codechange: centralise the handling of the incoming commands (from clients and the server)

This commit is contained in:
rubidium
2010-08-18 22:40:17 +00:00
parent 3ed6ca0aed
commit 8f82b2b588
6 changed files with 73 additions and 61 deletions

View File

@@ -1181,6 +1181,8 @@ void NetworkGameLoop()
f = NULL;
}
#endif /* DEBUG_DUMP_COMMANDS */
NetworkDistributeCommands();
if (_frame_counter >= _frame_counter_max) {
/* Only check for active clients just before we're going to send out
* the commands so we don't send multiple pause/unpause commands when