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:
Kevin Shanahan 2013-03-16 19:05:39 +10:30
parent 193a229fcf
commit 9961b8c34b

View File

@ -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);