]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host_cmd.c
shadow volume rendering still very incomplete, but works mostly
[xonotic/darkplaces.git] / host_cmd.c
index 1ac4b6cb572704173b8e46c7c4e82ef3093cdb7e..0a3f978d128dd9d7dbe2f5199a32f70b44d3ebb3 100644 (file)
@@ -1532,7 +1532,7 @@ void Host_Startdemos_f (void)
 
        if (cls.state == ca_dedicated)
        {
-               if (!sv.active)
+               if (!sv.active && !sv_spawnmap[0])
                        Cbuf_AddText ("map start\n");
                return;
        }
@@ -1593,7 +1593,7 @@ void Host_Stopdemo_f (void)
 // we have to delay map and game loads until AFTER video is initialized
 void Host_PerformSpawnServerAndLoadGame(void)
 {
-       if (vid_hidden)
+       if (vid_hidden && cls.state != ca_dedicated)
                return;
        if (sv_loadgame[0])
                Host_PerformLoadGame(sv_loadgame);