2
0
mirror of https://github.com/rehlds/rehlds.git synced 2024-12-28 15:45:46 +03:00

SV_CheckBottom: Fix bug NPC movement (mistake reversing engineering)

This commit is contained in:
s1lentq 2021-05-03 00:41:05 +07:00
parent 2f70b6cba5
commit 8dd3013813

View File

@ -71,7 +71,7 @@ qboolean SV_CheckBottom(edict_t *ent)
realcheck:
// check it for real...
start[2] = mins[2];
start[2] = mins[2] + sv_stepsize.value;
// the midpoint must be within 16 of the bottom
start[0] = stop[0] = (mins[0] + maxs[0]) * 0.5f;