summaryrefslogtreecommitdiff
path: root/unix.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-25 16:33:58 +0000
committertron <tron@openttd.org>2005-07-25 16:33:58 +0000
commit84f78ea44a90763e9a35776024f214f3c68dd6fe (patch)
tree072ce4845cd4bb6c73c44598de9516a00409e542 /unix.c
parentf60b122a68ec1b9ea203a95146835d3796841286 (diff)
downloadopenttd-84f78ea44a90763e9a35776024f214f3c68dd6fe.tar.xz
(svn r2710) Simplify dedicated server code a bit and don't compile it at all, if network support ist disabled
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix.c b/unix.c
index 8a4a53326..324be9ea3 100644
--- a/unix.c
+++ b/unix.c
@@ -378,7 +378,9 @@ const DriverDesc _video_driver_descs[] = {
#if defined(WITH_SDL)
{ "sdl", "SDL Video Driver", &_sdl_video_driver, 1},
#endif
+#ifdef ENABLE_NETWORK
{ "dedicated", "Dedicated Video Driver", &_dedicated_video_driver, 0},
+#endif
{ NULL, NULL, NULL, 0}
};