summaryrefslogtreecommitdiff
path: root/network_gui.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-12-23 00:24:44 +0000
committerdarkvater <darkvater@openttd.org>2004-12-23 00:24:44 +0000
commit28c1dc3e396c221b7d2a740ed49ce881bfe23384 (patch)
treec61005fca393d8636f471b3f6497712970f87b04 /network_gui.c
parentc4836bbd70223842a9df4f412444ece44d9b1147 (diff)
downloadopenttd-28c1dc3e396c221b7d2a740ed49ce881bfe23384.tar.xz
(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.
-Fix: removed some warnings -Enabled ENABLE_NETWORK on windows again which I accidentally commented out.
Diffstat (limited to 'network_gui.c')
-rw-r--r--network_gui.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/network_gui.c b/network_gui.c
index 144552aaf..94d3f7310 100644
--- a/network_gui.c
+++ b/network_gui.c
@@ -1315,7 +1315,7 @@ void ShowJoinStatusWindow()
AllocateWindowDesc(&_network_join_status_window_desc);
}
-void ShowJoinStatusWindowAfterJoin()
+void ShowJoinStatusWindowAfterJoin(void)
{
/* This is a special instant of ShowJoinStatusWindow, because
it is opened after the map is loaded, but the client maybe is not
@@ -1454,5 +1454,6 @@ void ShowChatWindow(StringID str, StringID caption, int maxlen, int maxwidth, by
WP(w,querystr_d).buf = _edit_str_buf;
}
-
+#else
+void ShowJoinStatusWindowAfterJoin(void) {}
#endif /* ENABLE_NETWORK */