Fix top being dropped when players hit your items

This commit is contained in:
AJ Martinez 2024-01-02 23:57:47 -07:00
parent 80cccdcda7
commit 4a557010db

View file

@ -3229,12 +3229,6 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
player->emeralds = 0;
K_CheckEmeralds(source->player);
}
/* Drop "shield" immediately on contact. */
if (source->player->curshield == KSHIELD_TOP)
{
Obj_GardenTopDestroy(source->player);
}
}
if (!(damagetype & DMG_STEAL))