From: havoc Date: Wed, 28 Nov 2007 06:56:32 +0000 (+0000) Subject: patch from VorteX that makes GAME_DELUXEQUAKE mode reset a cvar in the X-Git-Tag: xonotic-v0.1.0preview~2757 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f4cf3890594e5793d6b94fad3241032ea30b44db;p=xonotic%2Fdarkplaces.git patch from VorteX that makes GAME_DELUXEQUAKE mode reset a cvar in the Map command git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7727 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host_cmd.c b/host_cmd.c index 99f48c30..da449a67 100644 --- a/host_cmd.c +++ b/host_cmd.c @@ -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 ();