From: Mario Date: Sat, 7 Mar 2020 19:27:54 +0000 (+1000) Subject: Disable prediction when bugrigs is enabled, fixes glitchy movement X-Git-Tag: xonotic-v0.8.5~1145^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=356ca06f53175d9ffec4e50052a553daa13ed8d3;p=xonotic%2Fxonotic-data.pk3dir.git Disable prediction when bugrigs is enabled, fixes glitchy movement --- diff --git a/qcsrc/common/mutators/mutator/bugrigs/bugrigs.qc b/qcsrc/common/mutators/mutator/bugrigs/bugrigs.qc index 40f19d6b1..38a687f01 100644 --- a/qcsrc/common/mutators/mutator/bugrigs/bugrigs.qc +++ b/qcsrc/common/mutators/mutator/bugrigs/bugrigs.qc @@ -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 }