summaryrefslogtreecommitdiff
path: root/win32.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 /win32.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 'win32.c')
-rw-r--r--win32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32.c b/win32.c
index 95139e480..d93b800e2 100644
--- a/win32.c
+++ b/win32.c
@@ -942,7 +942,9 @@ const DriverDesc _video_driver_descs[] = {
{"sdl", "SDL Video Driver", &_sdl_video_driver, 1},
#endif
{"win32", "Win32 GDI Video Driver", &_win32_video_driver, Windows_NT3_51},
+#ifdef ENABLE_NETWORK
{ "dedicated", "Dedicated Video Driver", &_dedicated_video_driver, 0},
+#endif
{ NULL, NULL, NULL, 0 }
};