]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix crouching :)
authorRudolf Polzer <divverent@xonotic.org>
Fri, 25 Jan 2013 08:56:19 +0000 (09:56 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Fri, 25 Jan 2013 08:56:19 +0000 (09:56 +0100)
qcsrc/server/cl_client.qc

index 02435cc605931a2ffee4ca2ec0032b5bf0a0a65d..adea40c4b946d385ec9aa735812f99cca416c9b9 100644 (file)
@@ -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;