fix test demo

This commit is contained in:
s1lentq 2024-01-12 13:30:01 +07:00
parent 02a0516c2f
commit 89dda43b21

View File

@ -1437,11 +1437,13 @@ void PM_CategorizePosition()
PM_CheckWater(); PM_CheckWater();
// Do not stick to the ground of an OBSERVER or NOCLIP mode // Do not stick to the ground of an OBSERVER or NOCLIP mode
#ifdef REGAMEDLL_FIXES
if (pmove->movetype == MOVETYPE_NOCLIP || pmove->movetype == MOVETYPE_NONE) if (pmove->movetype == MOVETYPE_NOCLIP || pmove->movetype == MOVETYPE_NONE)
{ {
pmove->onground = -1; pmove->onground = -1;
return; return;
} }
#endif
point[0] = pmove->origin[0]; point[0] = pmove->origin[0];
point[1] = pmove->origin[1]; point[1] = pmove->origin[1];