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
commit030b4c2704975422230b4ae3a77ae9866163886b (patch)
tree072ce4845cd4bb6c73c44598de9516a00409e542 /unix.c
parent466e1c63e8c42a78a5399f854bc788a03d537a96 (diff)
downloadopenttd-030b4c2704975422230b4ae3a77ae9866163886b.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}
};