Leaky Mario mode bug fixed.

This commit is contained in:
toasterbabe 2016-10-13 15:13:33 +01:00
parent 5ff507213b
commit 76700241f6

View file

@ -2304,7 +2304,8 @@ void P_KillMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, UINT8 damaget
target->fuse = TICRATE*3; // timer before mobj disappears from view (even if not an actual player)
if (!mariodeathpit)
{
target->player->powers[pw_marioflashing] = MARIOFLASHINGTICS;
if (mariomode)
target->player->powers[pw_marioflashing] = MARIOFLASHINGTICS;
target->momx = target->momy = target->momz = 0;
}
if (damagetype == DMG_DROWNED) // drowned