Skip to content

Commit 82fb731

Browse files
committed
:dramahog:
1 parent 098fcaa commit 82fb731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/p_inter.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
738738
// Secret emblem thingy
739739
case MT_EMBLEM:
740740
{
741-
if (demoplayback || (player->bot && player->bot != BOT_MPAI) || special->health > MAXEMBLEMS)
741+
if (demoplayback || (player->bot && player->bot != BOT_MPAI) || special->health <= 0 || special->health > MAXEMBLEMS)
742742
return;
743743
emblemlocations[special->health-1].collected = true;
744744

0 commit comments

Comments
 (0)