remove unused function

This commit is contained in:
Bill Currie 2001-02-11 05:33:21 +00:00
parent 2be320d66f
commit 4417fc6ce0

View file

@ -45,36 +45,6 @@ cvar_t *cl_pushlatency;
extern frame_t *view_frame; 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 CL_PredictUsercmd
*/ */