(svn r5488) -Backport (r5487) -Fix: [#8] UDP sockets were used even if network-availability was set to false (tokai)
--- a/openttd.c Sat Jul 01 10:46:50 2006 +0000
+++ b/openttd.c Thu Jul 13 17:54:57 2006 +0000
@@ -985,7 +985,8 @@
#ifdef ENABLE_NETWORK
// Check for UDP stuff
- NetworkUDPGameLoop();
+ if (_network_available)
+ NetworkUDPGameLoop();
if (_networking) {
// Multiplayer