]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
added -demo and -demolooponly options. -demo starts the wanted demo and then shuts...
[xonotic/darkplaces.git] / host_cmd.c
index 37b0dc9dc00bef0829758f36d76f83c4d2f746fa..b88d27bcfd993d21693465b0e4a22ca5ce93ae2b 100644 (file)
@@ -1794,7 +1794,7 @@ void Host_Startdemos_f (void)
 {
        int             i, c;
 
-       if (cls.state == ca_dedicated || COM_CheckParm("-listen"))
+       if (cls.state == ca_dedicated || COM_CheckParm("-listen") || COM_CheckParm("-benchmark") || COM_CheckParm("-demo") || COM_CheckParm("-demolooponly"))
                return;
 
        c = Cmd_Argc() - 1;