]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix inverse logic bug :P
authorRudolf Polzer <divverent@alientrap.org>
Sat, 14 Aug 2010 20:17:08 +0000 (22:17 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 14 Aug 2010 20:17:08 +0000 (22:17 +0200)
qcsrc/server/cl_physics.qc

index 08f355be88f2757d46e49657a167e384a2ced687..6d5fbfd0fa6858084905c652ebcab14fff9656a6 100644 (file)
@@ -85,7 +85,7 @@ void PlayerJump (void)
                {
                        if (cvar("g_multijump_add") == 0) // in this case we make the z velocity == jumpvelocity
                        {
                {
                        if (cvar("g_multijump_add") == 0) // in this case we make the z velocity == jumpvelocity
                        {
-                               if (self.velocity_z >= mjumpheight)
+                               if (self.velocity_z < mjumpheight)
                                {
                                        doublejump = TRUE;
                                        self.velocity_z = 0;
                                {
                                        doublejump = TRUE;
                                        self.velocity_z = 0;