mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-20 06:53:00 +00:00
Fix Mine omega combo (instant death)
This commit is contained in:
parent
89d1c29c80
commit
f7e3ea76d1
1 changed files with 9 additions and 0 deletions
|
|
@ -2830,6 +2830,15 @@ static boolean P_FlashingException(const player_t *player, const mobj_t *inflict
|
|||
return false;
|
||||
}
|
||||
|
||||
if (inflictor->type == MT_SSMINE)
|
||||
{
|
||||
// Mine's first hit is DMG_EXPLODE.
|
||||
// Afterward, it leaves a spinout hitbox which remains for a short period.
|
||||
// If the spinout hitbox ignored flashing tics, you would be combod every tic and die instantly.
|
||||
// DMG_EXPLODE already ignores flashing tics (correct behavior).
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!P_IsKartItem(inflictor->type) && inflictor->type != MT_PLAYER)
|
||||
{
|
||||
// Exception only applies to player items.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue