]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Disable prediction when bugrigs is enabled, fixes glitchy movement
authorMario <mario.mario@y7mail.com>
Sat, 7 Mar 2020 19:27:54 +0000 (05:27 +1000)
committerMario <mario.mario@y7mail.com>
Sat, 7 Mar 2020 19:27:54 +0000 (05:27 +1000)
qcsrc/common/mutators/mutator/bugrigs/bugrigs.qc

index 40f19d6b1770bc88fa1fded89aa345397f2f3812..38a687f014556ec386a130e42adb7478fc9e5bb2 100644 (file)
@@ -309,6 +309,8 @@ MUTATOR_HOOKFUNCTION(bugrigs, PlayerPhysics)
 #ifdef SVQC
        entity player = M_ARGV(0, entity);
        player.bugrigs_prevangles = player.angles;
+
+       player.disableclientprediction = 2;
 #endif
 }