]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Fixed dedicated server (the server was never really spawned)
authormolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 2 Oct 2002 12:02:15 +0000 (12:02 +0000)
committermolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 2 Oct 2002 12:02:15 +0000 (12:02 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2490 d7cf8633-e32d-0410-b094-e92efae38249

host_cmd.c

index 1ac4b6cb572704173b8e46c7c4e82ef3093cdb7e..423ba2ffab7b05e801e93e339e993de481bf78c2 100644 (file)
@@ -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);