From 8dd3013813b4577036b59a65d9477fd868f3197b Mon Sep 17 00:00:00 2001 From: s1lentq Date: Mon, 3 May 2021 00:41:05 +0700 Subject: [PATCH] SV_CheckBottom: Fix bug NPC movement (mistake reversing engineering) --- rehlds/engine/sv_move.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rehlds/engine/sv_move.cpp b/rehlds/engine/sv_move.cpp index 472a135..b327b35 100644 --- a/rehlds/engine/sv_move.cpp +++ b/rehlds/engine/sv_move.cpp @@ -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;