Pyre Fly: Don't run the fuse code when dead
This commit is contained in:
parent
806b106905
commit
4cece9fe36
|
@ -9313,6 +9313,9 @@ for (i = ((mobj->flags2 & MF2_STRONGBOX) ? strongboxamt : weakboxamt); i; --i) s
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
case MT_PYREFLY:
|
case MT_PYREFLY:
|
||||||
|
if (mobj->health <= 0)
|
||||||
|
break;
|
||||||
|
|
||||||
mobj->extravalue2 = (mobj->extravalue2 + 1) % 3;
|
mobj->extravalue2 = (mobj->extravalue2 + 1) % 3;
|
||||||
if (mobj->extravalue2 == 0)
|
if (mobj->extravalue2 == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue