From 2b2e85005c8299ac8736f07056b645375bd83f9a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 4 Oct 2024 18:34:32 +0200 Subject: [PATCH] fix MBF21 ClearCountItem --- src/gamedata/d_dehacked.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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--; } }