Don't inflate bumpers you're going to lose

This commit is contained in:
AJ Martinez 2024-02-10 15:28:26 -07:00
parent b55d236733
commit 8f2989a8a9

View file

@ -6235,7 +6235,7 @@ static void P_MobjSceneryThink(mobj_t *mobj)
// Shrink your items if the player shrunk too.
P_SetScale(mobj, mobj->target->scale);
if (mobj->target->player->bumperinflate)
if (mobj->target->player->bumperinflate && bumpers > mobj->threshold)
{
mobj->frame |= FF_INVERT;
// This line sucks. Scale to player, plus up to 1.5x their size based on how long the combo you're in is.