From 4417fc6ce0e6e6e1e79e8ecd80435584e0bc7ffc Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 11 Feb 2001 05:33:21 +0000 Subject: [PATCH] remove unused function --- source/cl_pred.c | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/source/cl_pred.c b/source/cl_pred.c index 53a8fc0..0a9e18a 100644 --- a/source/cl_pred.c +++ b/source/cl_pred.c @@ -45,36 +45,6 @@ cvar_t *cl_pushlatency; extern frame_t *view_frame; -/* - CL_NudgePosition - - If pmove.origin is in a solid position, - try nudging slightly on all axis to - allow for the cut precision of the net coordinates -*/ -void -CL_NudgePosition (void) -{ - vec3_t base; - int x, y; - - if (PM_HullPointContents (&cl.model_precache[1]->hulls[1], 0, pmove.origin) - == CONTENTS_EMPTY) - return; - - VectorCopy (pmove.origin, base); - for (x = -1; x <= 1; x++) { - for (y = -1; y <= 1; y++) { - pmove.origin[0] = base[0] + x * 1.0 / 8; - pmove.origin[1] = base[1] + y * 1.0 / 8; - if (PM_HullPointContents - (&cl.model_precache[1]->hulls[1], 0, - pmove.origin) == CONTENTS_EMPTY) return; - } - } - Con_DPrintf ("CL_NudgePosition: stuck\n"); -} - /* CL_PredictUsercmd */