aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/server/sv_main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/code/server/sv_main.c b/code/server/sv_main.c
index 667db41..e17bd6a 100644
--- a/code/server/sv_main.c
+++ b/code/server/sv_main.c
@@ -782,6 +782,14 @@ void SV_Frame( int msec ) {
return;
}
+#ifdef DEDICATED
+ if( com_dedicated->integer == 0 )
+ {
+ Com_Printf( "WARNING: dedicated must not be 0. Setting to 1.\n" );
+ Cvar_Set( "dedicated", "1" );
+ }
+#endif
+
if (!com_sv_running->integer)
{
// Running as a server, but no map loaded