mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2025-01-31 05:04:10 +00:00
server: remove extra re-link in SV_Push
We already restore moved entities below, only we hadn't called SV_LinkEdict with touch_triggers set to true. However, this isn't needed since the entity was not moved from it's original position. Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
193a229fcf
commit
9961b8c34b
@ -565,11 +565,6 @@ SV_Push(edict_t *pusher, const vec3_t move)
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
|
||||
#ifdef NQ_HACK
|
||||
VectorCopy(moved_from[num_moved - 1], check->v.origin);
|
||||
SV_LinkEdict(check, true);
|
||||
#endif
|
||||
VectorCopy(pushorig, pusher->v.origin);
|
||||
SV_LinkEdict(pusher, false);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user