From: Mario Date: Sun, 19 Apr 2015 06:25:18 +0000 (+1000) Subject: Allow overriding crush touch by setting g_player_crush lower than 0 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d91e0f42daa8aeb207db67d59a648a610dacef7a;p=xonotic%2Fxonotic-data.pk3dir.git Allow overriding crush touch by setting g_player_crush lower than 0 --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 1a5876672..6c1cd6b47 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -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)