diff --git a/src/gamedata/d_dehacked.cpp b/src/gamedata/d_dehacked.cpp index 69874529bd..8ddcc79353 100644 --- a/src/gamedata/d_dehacked.cpp +++ b/src/gamedata/d_dehacked.cpp @@ -3952,7 +3952,7 @@ void ClearCountitem(AActor* a) { if (a->flags & MF_COUNTITEM) { - a->flags |= MF_COUNTITEM; + a->flags &= ~MF_COUNTITEM; a->Level->total_items--; } }