Fix really dumb flags on MT_SPBEXPLOSION

This commit is contained in:
TehRealSalt 2019-01-14 21:55:10 -05:00
parent 4ce528bea7
commit c61fcc8db6
3 changed files with 4 additions and 4 deletions

View File

@ -15861,7 +15861,7 @@ mobjinfo_t mobjinfo[NUMMOBJTYPES] =
100, // mass
1, // damage
sfx_None, // activesound
MF_BOUNCE|MF_FLOAT|MF_NOCLIPTHING|MF_MISSILE|MF_SHOOTABLE|MF_DONTENCOREMAP, // flags
MF_NOGRAVITY|MF_NOCLIP|MF_NOCLIPHEIGHT|MF_NOCLIPTHING|MF_DONTENCOREMAP, // flags
S_NULL // raisestate
},

View File

@ -588,7 +588,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
if (player->kartstuff[k_invincibilitytimer] > 0 || player->kartstuff[k_growshrinktimer] > 0 || player->kartstuff[k_hyudorotimer] > 0)
{
player->powers[pw_flashing] = 0;
//player->powers[pw_flashing] = 0;
K_DropHnextList(player);
K_StripItems(player);
}

View File

@ -7441,10 +7441,10 @@ void P_MobjThinker(mobj_t *mobj)
break;
case MT_SSMINE:
case MT_SPBEXPLOSION:
if (mobj->health > -100)
if (mobj->extravalue2 != -100)
{
P_SetMobjState(mobj, mobj->info->deathstate);
mobj->health = -100;
mobj->extravalue2 = -100;
}
else
{