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 40f19d6..38a687f 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
 }