]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Allow overriding crush touch by setting g_player_crush lower than 0
authorMario <zacjardine@y7mail.com>
Sun, 19 Apr 2015 06:25:18 +0000 (16:25 +1000)
committerMario <zacjardine@y7mail.com>
Sun, 19 Apr 2015 06:25:18 +0000 (16:25 +1000)
qcsrc/server/cl_client.qc

index 1a58766728300f8a6cc449bae5d82a92a3d56386..6c1cd6b47f48fa783e8b8929546316a45e30ba4f 100644 (file)
@@ -814,7 +814,7 @@ void PutClientInServer (void)
                self.weaponname = "";
                self.switchingweapon = 0;
 
-               //if(autocvar_g_player_crush)
+               if(autocvar_g_player_crush >= 0)
                        self.touch = PlayerTouch;
 
                if(!warmup_stage)