mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-26 21:11:51 +00:00
Don't pause mobj thinker for player whose hitlag will be cancelled anyway
This commit is contained in:
parent
622bfa9512
commit
ee4011cca6
1 changed files with 1 additions and 1 deletions
|
|
@ -9843,7 +9843,7 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
return;
|
||||
|
||||
// Don't run any thinker code while in hitlag
|
||||
if (mobj->hitlag > 0)
|
||||
if ((mobj->player ? mobj->hitlag - mobj->player->nullHitlag : mobj->hitlag) > 0)
|
||||
{
|
||||
mobj->eflags |= MFE_PAUSED;
|
||||
mobj->hitlag--;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue