P_DamageMobj: Correct typo so we keep shield only when damagetype is DMG_STUMBLE, not in every case BUT that

This commit is contained in:
toaster 2023-03-21 13:03:45 +00:00
parent 7868f21dd0
commit ae9a0b3ba2

View file

@ -2448,7 +2448,7 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
}
else
{
K_DropHnextList(player, (type != DMG_STUMBLE));
K_DropHnextList(player, (type == DMG_STUMBLE));
}
if (type != DMG_STUMBLE)