]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix grenades by temporarily disabling matching ticrate in physics
authorMario <mario@smbclan.net>
Fri, 22 Jul 2016 18:34:52 +0000 (04:34 +1000)
committerMario <mario@smbclan.net>
Fri, 22 Jul 2016 18:34:52 +0000 (04:34 +1000)
qcsrc/common/physics/movetypes/movetypes.qc

index 668d7b9fc44463a23ddf6d842aca6f11233c0434..fe82c6968a64a34e0d830cbe3d467ca8a8578f2e 100644 (file)
@@ -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);
        }
+       */
 }