From 9961b8c34bdcc09a55142e9189eadb86ccb548f4 Mon Sep 17 00:00:00 2001 From: Kevin Shanahan Date: Sat, 16 Mar 2013 19:05:39 +1030 Subject: [PATCH] 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 --- common/sv_phys.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/common/sv_phys.c b/common/sv_phys.c index 872df3d..d98c145 100644 --- a/common/sv_phys.c +++ b/common/sv_phys.c @@ -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);