Enforce MF_PAIN doing regular damage in kart maps
This commit is contained in:
parent
2fe0fcf14c
commit
c0adfe0e0a
1 changed files with 3 additions and 3 deletions
|
|
@ -674,8 +674,8 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing)
|
|||
return BMIT_CONTINUE; // underneath
|
||||
if (g_tm.thing->player && g_tm.thing->flags & MF_SHOOTABLE && thing->health > 0)
|
||||
{
|
||||
UINT32 damagetype = (g_tm.thing->info->mass & DMG_TYPEMASK);
|
||||
if (!damagetype) // OWWWWW!
|
||||
UINT32 damagetype = (thing->info->mass & DMG_TYPEMASK);
|
||||
if (mapnamespace == MNS_SRB2KART || !damagetype) // OWWWWW!
|
||||
damagetype = DMG_NORMAL;
|
||||
P_DamageMobj(g_tm.thing, thing, thing, 1, damagetype);
|
||||
}
|
||||
|
|
@ -691,7 +691,7 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing)
|
|||
if (thing->player && thing->flags & MF_SHOOTABLE && g_tm.thing->health > 0)
|
||||
{
|
||||
UINT32 damagetype = (g_tm.thing->info->mass & DMG_TYPEMASK);
|
||||
if (!damagetype) // OWWWWW!
|
||||
if (mapnamespace == MNS_SRB2KART || !damagetype) // OWWWWW!
|
||||
damagetype = DMG_NORMAL;
|
||||
P_DamageMobj(thing, g_tm.thing, g_tm.thing, 1, damagetype);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue