mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-18 11:32:24 +00:00
Fix SPB not properly damaging special UFO
This commit is contained in:
parent
d1739feda9
commit
166391531d
1 changed files with 5 additions and 1 deletions
|
|
@ -813,9 +813,13 @@ static UINT8 GetUFODamage(mobj_t *inflictor, UINT8 damageType)
|
|||
break;
|
||||
}
|
||||
case MT_SPB:
|
||||
case MT_SPBEXPLOSION:
|
||||
{
|
||||
if (inflictor->type != MT_SPBEXPLOSION || inflictor->threshold == KITEM_SPB)
|
||||
{
|
||||
targetdamaging |= UFOD_SPB;
|
||||
}
|
||||
// SPB deals triple damage.
|
||||
targetdamaging |= UFOD_SPB;
|
||||
ret = 30;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue