Pyre Fly: Don't run the fuse code when dead

This commit is contained in:
MascaraSnake 2019-08-30 08:55:29 +02:00
parent 806b106905
commit 4cece9fe36
1 changed files with 3 additions and 0 deletions

View File

@ -9313,6 +9313,9 @@ for (i = ((mobj->flags2 & MF2_STRONGBOX) ? strongboxamt : weakboxamt); i; --i) s
}
return;
case MT_PYREFLY:
if (mobj->health <= 0)
break;
mobj->extravalue2 = (mobj->extravalue2 + 1) % 3;
if (mobj->extravalue2 == 0)
{