(svn r2710) Simplify dedicated server code a bit and don't compile it at all, if network support ist disabled

This commit is contained in:
tron
2005-07-25 16:33:58 +00:00
parent f60b122a68
commit 84f78ea44a
5 changed files with 15 additions and 39 deletions

View File

@@ -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 }
};