From 89dda43b216bb771a6a1dd6960dbfa0aea603e25 Mon Sep 17 00:00:00 2001 From: s1lentq Date: Fri, 12 Jan 2024 13:30:01 +0700 Subject: [PATCH] fix test demo --- regamedll/pm_shared/pm_shared.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/regamedll/pm_shared/pm_shared.cpp b/regamedll/pm_shared/pm_shared.cpp index e0a57eb22..9aac42546 100644 --- a/regamedll/pm_shared/pm_shared.cpp +++ b/regamedll/pm_shared/pm_shared.cpp @@ -1437,11 +1437,13 @@ void PM_CategorizePosition() PM_CheckWater(); // Do not stick to the ground of an OBSERVER or NOCLIP mode +#ifdef REGAMEDLL_FIXES if (pmove->movetype == MOVETYPE_NOCLIP || pmove->movetype == MOVETYPE_NONE) { pmove->onground = -1; return; } +#endif point[0] = pmove->origin[0]; point[1] = pmove->origin[1];