(svn r23751) -Codechange: rename NetworkUDPGameLoop to a more descriptive name, and move the UDP specific bits to network_udp

This commit is contained in:
rubidium
2012-01-04 22:08:43 +00:00
parent 2453456275
commit f8faaebaf0
5 changed files with 23 additions and 12 deletions

View File

@@ -1348,7 +1348,7 @@ void GameLoop()
if (_game_mode == GM_BOOTSTRAP) {
#ifdef ENABLE_NETWORK
/* Check for UDP stuff */
if (_network_available) NetworkUDPGameLoop();
if (_network_available) NetworkBackgroundLoop();
#endif
InputLoop();
return;
@@ -1378,7 +1378,7 @@ void GameLoop()
#ifdef ENABLE_NETWORK
/* Check for UDP stuff */
if (_network_available) NetworkUDPGameLoop();
if (_network_available) NetworkBackgroundLoop();
if (_networking && !HasModalProgress()) {
/* Multiplayer */