From: Mario Date: Sat, 23 Jun 2018 13:50:06 +0000 (+1000) Subject: Fix a relink warning X-Git-Tag: xonotic-v0.8.5~1990 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1afcffd47a6f1f4dbe7d5b915d9bc579e5f8f149;p=xonotic%2Fxonotic-data.pk3dir.git Fix a relink warning --- diff --git a/qcsrc/common/physics/movetypes/movetypes.qc b/qcsrc/common/physics/movetypes/movetypes.qc index ca43d803b..9ac3e4299 100644 --- a/qcsrc/common/physics/movetypes/movetypes.qc +++ b/qcsrc/common/physics/movetypes/movetypes.qc @@ -532,6 +532,8 @@ void _Movetype_Physics_Frame(entity this, float movedt) case MOVETYPE_FLY: case MOVETYPE_FLY_WORLDONLY: _Movetype_Physics_Toss(this, movedt); + if(wasfreed(this)) + return; _Movetype_LinkEdict(this, true); break; case MOVETYPE_PHYSICS: