Skip to content

Commit

Permalink
fix test demo
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed Jan 12, 2024
1 parent 02a0516 commit 89dda43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions regamedll/pm_shared/pm_shared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 89dda43

Please sign in to comment.