diff options
author | truelight <truelight@openttd.org> | 2006-07-13 17:53:32 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-07-13 17:53:32 +0000 |
commit | 2cd81020402652dae2e5ac267f29b1b6c5bdc4db (patch) | |
tree | f8c3f8dcff586e93afd2be61c0b7e53a3bc3c37f /openttd.c | |
parent | a798d0a95cad91f8f6bd0016760594f2a960281b (diff) | |
download | openttd-2cd81020402652dae2e5ac267f29b1b6c5bdc4db.tar.xz |
(svn r5487) -Fix: [#8] UDP sockets were used even if network-availability was set to false (tokay)
Diffstat (limited to 'openttd.c')
-rw-r--r-- | openttd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -971,7 +971,8 @@ void GameLoop(void) #ifdef ENABLE_NETWORK // Check for UDP stuff - NetworkUDPGameLoop(); + if (_network_available) + NetworkUDPGameLoop(); if (_networking) { // Multiplayer |