From: Rudolf Polzer Date: Fri, 25 Jan 2013 08:56:19 +0000 (+0100) Subject: fix crouching :) X-Git-Tag: xonotic-v0.7.0~99^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d63134c838f8633a5f076bff0caf76c4a4e8ed80;p=xonotic%2Fxonotic-data.pk3dir.git fix crouching :) --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 02435cc60..adea40c4b 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -2786,7 +2786,7 @@ void PlayerPreThink (void) self.prevorigin = self.origin; float do_crouch = self.BUTTON_CROUCH; - if(!self.hook.state) + if(self.hook.state) do_crouch = 0; if(self.health <= g_bloodloss) do_crouch = 1;