fix MBF21 ClearCountItem

This commit is contained in:
Christoph Oelckers 2024-10-04 18:34:32 +02:00
parent ccbebfcf34
commit 2b2e85005c

View file

@ -3952,7 +3952,7 @@ void ClearCountitem(AActor* a)
{ {
if (a->flags & MF_COUNTITEM) if (a->flags & MF_COUNTITEM)
{ {
a->flags |= MF_COUNTITEM; a->flags &= ~MF_COUNTITEM;
a->Level->total_items--; a->Level->total_items--;
} }
} }