summaryrefslogtreecommitdiff
path: root/network_gui.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-10-12 14:59:27 +0000
committerDarkvater <darkvater@openttd.org>2006-10-12 14:59:27 +0000
commitcad526ef3658ad6420939a6d51707c9dbfee97c3 (patch)
tree9d8040d778bee72bdeda716299434c03e98d3b14 /network_gui.c
parent15bf48acfda4ce5e5291e0a68292d7f9d9b6a569 (diff)
downloadopenttd-cad526ef3658ad6420939a6d51707c9dbfee97c3.tar.xz
(svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking
disabled hardcode _networking/_network_available to zero and let the compiler handle all optimizations.
Diffstat (limited to 'network_gui.c')
-rw-r--r--network_gui.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/network_gui.c b/network_gui.c
index 142105fa9..ed78584a0 100644
--- a/network_gui.c
+++ b/network_gui.c
@@ -1720,6 +1720,4 @@ void ShowNetworkChatQueryWindow(byte desttype, byte dest)
UpdateTextBufferSize(&WP(w, querystr_d).text);
}
-#else
-void ShowJoinStatusWindowAfterJoin(void) {}
#endif /* ENABLE_NETWORK */