mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'chargeaura-fallout' into 'master'
Charge Aura visual: Remove in more cases See merge request KartKrew/Kart!2296
This commit is contained in:
commit
749fb4e4f8
1 changed files with 5 additions and 1 deletions
|
|
@ -26,7 +26,11 @@
|
|||
// cvmem: spawn time (used to offset flash)
|
||||
void Obj_ChargeAuraThink (mobj_t *aura)
|
||||
{
|
||||
if (P_MobjWasRemoved(aura->target) || !aura->target->player || (aura->extravalue1 >= CHARGEAURA_BURSTTIME))
|
||||
if (P_MobjWasRemoved(aura->target)
|
||||
|| aura->target->health == 0
|
||||
|| aura->target->destscale <= 1 // sealed star fall out
|
||||
|| !aura->target->player
|
||||
|| (aura->extravalue1 >= CHARGEAURA_BURSTTIME))
|
||||
{
|
||||
P_RemoveMobj(aura);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue