Closed justgo97 closed 9 months ago
You could use it here too like this
fmin = check->v.absmin;
fmax = check->v.absmax;
if (check->v.flags & FL_CLIENT)
{
// trying to get interpolated values
SV_GetTrueMinMax(e - 1, &fmin, &fmax);
}
if (!BoundsIntersect(pmove_mins, pmove_maxs, fmin, fmax))
continue;
You could use it here too like this
fmin = check->v.absmin; fmax = check->v.absmax; if (check->v.flags & FL_CLIENT) { // trying to get interpolated values SV_GetTrueMinMax(e - 1, &fmin, &fmax); } if (!BoundsIntersect(pmove_mins, pmove_maxs, fmin, fmax)) continue;
Done, Nice catch
Inspired by https://github.com/DrBeef/Lambda1VR/blob/master/Projects/Android/jni/src/Xash3D/xash3d/engine/server/sv_world.c