mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't fuck with the fuse if it's negative
This commit is contained in:
parent
ce45746d02
commit
a50549aa7c
1 changed files with 2 additions and 0 deletions
|
|
@ -7986,6 +7986,8 @@ static void P_MobjSceneryThink(mobj_t *mobj)
|
|||
P_RemoveMobj(mobj);
|
||||
return;
|
||||
}
|
||||
if (mobj->fuse < 0)
|
||||
return;
|
||||
if ((--mobj->fuse) < 6)
|
||||
mobj->frame = (mobj->frame & ~FF_TRANSMASK) | ((10 - (mobj->fuse*2)) << (FF_TRANSSHIFT));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue