Hack to fix spinout and flipover ignoring wind

This commit is contained in:
NepDisk 2026-03-18 16:01:05 -04:00
parent 9db16aaccf
commit 1551efb70d

View file

@ -9578,7 +9578,7 @@ void T_Pusher(void *thinker)
if (thing->eflags & MFE_PUSHED)
continue;
if (thing->player && (thing->state == &states[thing->info->painstate])
if (thing->player && !K_IsPlayerDamaged(thing->player) && (thing->state == &states[thing->info->painstate])
&& (thing->player->flashing > (K_GetKartFlashing(thing->player)/4)*3
&& thing->player->flashing <= K_GetKartFlashing(thing->player)))
continue;