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: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=356ca06f53175d9ffec4e50052a553daa13ed8d3 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 40f19d6b17..38a687f014 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 }