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 | 05c7d429549d5608b3b6c27e02a394c4d210ba63 (patch) | |
tree | f8c3f8dcff586e93afd2be61c0b7e53a3bc3c37f | |
parent | 954a750902335ed6058e34bd1bd8fad4c6cd3ab1 (diff) | |
download | openttd-05c7d429549d5608b3b6c27e02a394c4d210ba63.tar.xz |
(svn r5487) -Fix: [#8] UDP sockets were used even if network-availability was set to false (tokay)
-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 |