From bbed0d928b6e8b3265a4a6322d5d368b83d89701 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 2 Dec 2017 00:09:17 +1000 Subject: [PATCH] Always link edict for clients (matches engine physics) --- qcsrc/common/physics/movetypes/movetypes.qc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/qcsrc/common/physics/movetypes/movetypes.qc b/qcsrc/common/physics/movetypes/movetypes.qc index 995c65b4d..3fe280858 100644 --- a/qcsrc/common/physics/movetypes/movetypes.qc +++ b/qcsrc/common/physics/movetypes/movetypes.qc @@ -544,7 +544,6 @@ void _Movetype_Physics_ClientFrame(entity this, float movedt) _Movetype_CheckWater(this); this.origin = this.origin + movedt * this.velocity; this.angles = this.angles + movedt * this.avelocity; - _Movetype_LinkEdict(this, false); break; case MOVETYPE_STEP: _Movetype_Physics_Step(this, movedt); @@ -563,6 +562,12 @@ void _Movetype_Physics_ClientFrame(entity this, float movedt) case MOVETYPE_PHYSICS: break; } + + //_Movetype_CheckVelocity(this); + + _Movetype_LinkEdict(this, true); + + //_Movetype_CheckVelocity(this); } void Movetype_Physics_NoMatchTicrate(entity this, float movedt, bool isclient) // to be run every move frame -- 2.39.2