mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-03-04 01:35:23 +03:00
fix test demo
This commit is contained in:
parent
02a0516c2f
commit
89dda43b21
@ -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];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user