mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-14 23:58:06 +03:00
Fix hanging corpse
This commit is contained in:
parent
2174205530
commit
bfad492265
@ -1870,12 +1870,6 @@ void PM_Duck()
|
|||||||
|
|
||||||
if (pmove->dead || !(pmove->cmd.buttons & IN_DUCK) && !pmove->bInDuck && !(pmove->flags & FL_DUCKING))
|
if (pmove->dead || !(pmove->cmd.buttons & IN_DUCK) && !pmove->bInDuck && !(pmove->flags & FL_DUCKING))
|
||||||
{
|
{
|
||||||
#ifdef REGAMEDLL_FIXES
|
|
||||||
if (pmove->flags & FL_DUCKING)
|
|
||||||
{
|
|
||||||
PM_UnDuck();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user