]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
patch from VorteX that makes GAME_DELUXEQUAKE mode reset a cvar in the
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 28 Nov 2007 06:56:32 +0000 (06:56 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 28 Nov 2007 06:56:32 +0000 (06:56 +0000)
Map command

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7727 d7cf8633-e32d-0410-b094-e92efae38249

host_cmd.c

index 99f48c30ac8cdb4860fd2353e85c3261b0d6054a..da449a672a35acfa2e2a1f77c4448e5b8e25b7b0 100644 (file)
@@ -264,6 +264,10 @@ void Host_Map_f (void)
                return;
        }
 
+       // GAME_DELUXEQUAKE - clear warpmark (used by QC)
+       if (gamemode == GAME_DELUXEQUAKE)
+               Cvar_Set("warpmark", "");
+
        cls.demonum = -1;               // stop demo loop in case this fails
 
        CL_Disconnect ();