mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +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;
|
break;
|
||||||
}
|
}
|
||||||
case MT_SPB:
|
case MT_SPB:
|
||||||
|
case MT_SPBEXPLOSION:
|
||||||
{
|
{
|
||||||
|
if (inflictor->type != MT_SPBEXPLOSION || inflictor->threshold == KITEM_SPB)
|
||||||
|
{
|
||||||
|
targetdamaging |= UFOD_SPB;
|
||||||
|
}
|
||||||
// SPB deals triple damage.
|
// SPB deals triple damage.
|
||||||
targetdamaging |= UFOD_SPB;
|
|
||||||
ret = 30;
|
ret = 30;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue