]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove legacy cvar("deathmatch" "2") support to enable weapon stay
authorRudolf Polzer <divverent@alientrap.org>
Thu, 1 Sep 2011 11:21:56 +0000 (13:21 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 1 Sep 2011 11:21:56 +0000 (13:21 +0200)
qcsrc/server/miscfunctions.qc

index 4192e4973118730e96099f20143a4a96d8b66aaa..1c070b08b33fa23606130125cd3ee724a9840b46 100644 (file)
@@ -1256,9 +1256,6 @@ void readlevelcvars(void)
     if(!g_weapon_stay)
         g_weapon_stay = cvar("g_weapon_stay");
 
-       if (!g_weapon_stay && (cvar("deathmatch") == 2))
-               g_weapon_stay = 1;
-
        g_ghost_items = cvar("g_ghost_items");
 
        if(g_ghost_items >= 1)