From: Mario Date: Fri, 22 Jul 2016 18:34:52 +0000 (+1000) Subject: Fix grenades by temporarily disabling matching ticrate in physics X-Git-Tag: xonotic-v0.8.2~700^2~39^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ec2edd9778ba9fd5c21de7d28274e44edbcf286d;p=xonotic%2Fxonotic-data.pk3dir.git Fix grenades by temporarily disabling matching ticrate in physics --- diff --git a/qcsrc/common/physics/movetypes/movetypes.qc b/qcsrc/common/physics/movetypes/movetypes.qc index 668d7b9fc..fe82c6968 100644 --- a/qcsrc/common/physics/movetypes/movetypes.qc +++ b/qcsrc/common/physics/movetypes/movetypes.qc @@ -642,12 +642,12 @@ void Movetype_Physics_MatchServer(entity this, bool sloppy) void Movetype_Physics_MatchTicrate(entity this, float tr, bool sloppy) // SV_Physics_Entity { - if(tr <= 0) - { + //if(tr <= 0) + //{ Movetype_Physics_NoMatchServer(this); - return; - } - + //return; + //} +/* float dt = time - this.move_time; int n = max(0, floor(dt / tr)); @@ -695,4 +695,5 @@ void Movetype_Physics_MatchTicrate(entity this, float tr, bool sloppy) // SV_Ph { setorigin(this, this.origin); } + */ }