]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/mutators/mutator/multijump/multijump.qc
Kill use of self in player physics code
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mutators / mutator / multijump / multijump.qc
index 2ed1acfda9f9caab6b91048de82729c8562fa1f0..6472c83ae87c4d56639fc66fb8eb085070649a5c 100644 (file)
@@ -109,7 +109,7 @@ bool PM_multijump_checkjump(entity this)
                {
                        if (!PHYS_MULTIJUMP_ADD) // in this case we make the z velocity == jumpvelocity
                        {
-                               if (this.velocity_z < PHYS_JUMPVELOCITY)
+                               if (this.velocity_z < PHYS_JUMPVELOCITY(this))
                                {
                                        player_multijump = true;
                                        this.velocity_z = 0;