summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-01-04 22:08:43 +0000
committerrubidium <rubidium@openttd.org>2012-01-04 22:08:43 +0000
commit531e501b5a9b255c9694b62228baa8c962bf4c60 (patch)
treeaaf78f62ca555cb07f0c0417a9f6c9bb492bc784 /src/openttd.cpp
parentb80fb93b1b5ff5cbe495ddd3d1c7d95fe12d4ef2 (diff)
downloadopenttd-531e501b5a9b255c9694b62228baa8c962bf4c60.tar.xz
(svn r23751) -Codechange: rename NetworkUDPGameLoop to a more descriptive name, and move the UDP specific bits to network_udp
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index f9c74cd1c..e892ebd5d 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -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 */