Remove shrink until I can figure out why it won't delete the object

mr sigsev called
This commit is contained in:
NepDisk 2024-09-21 12:03:22 -04:00
parent 54773c3b44
commit 9a9b8b6763
2 changed files with 2 additions and 16 deletions

View file

@ -314,13 +314,6 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
}
S_StartSound(toucher, special->info->deathsound);
if (special->tracer && !P_MobjWasRemoved(special->tracer))
{
special->destscale = mapobjectscale>>4;
special->scalespeed <<= 1;
}
P_KillMobj(special, toucher, toucher, DMG_NORMAL);
return;
case MT_KARMAHITBOX:
@ -1437,10 +1430,10 @@ void P_KillMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, UINT8 damaget
target->fuse = 40*TICRATE;
// remove inside item
/*if (target->tracer && !P_MobjWasRemoved(target->tracer))
if (target->tracer && !P_MobjWasRemoved(target->tracer))
{
P_RemoveMobj(target->tracer);
}*/
}
// give the player an item!
if (source && source->player)

View file

@ -4106,13 +4106,6 @@ static void P_ItemCapsulePartThinker(mobj_t *mobj)
target->y + P_ReturnThrustY(mobj, mobj->angle + ANGLE_90, mobj->radius),
z);
}
if (mobj->scale <= mapobjectscale>>4)
{
P_RemoveMobj(mobj);
return;
}
}
static void P_RefreshItemCapsuleParts(mobj_t *mobj)