mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-03-13 03:33:28 +00:00
remove unused function
This commit is contained in:
parent
2be320d66f
commit
4417fc6ce0
1 changed files with 0 additions and 30 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue