From 7db7b0c7e6f317132b47164680bca1387a1d4153 Mon Sep 17 00:00:00 2001 From: Emily Date: Sat, 2 Jan 2021 13:39:14 +0100 Subject: [PATCH] Fix IfItem amount not being checked (#1262) --- src/maploader/usdf.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/maploader/usdf.cpp b/src/maploader/usdf.cpp index 0aae1186c..05eb50f88 100644 --- a/src/maploader/usdf.cpp +++ b/src/maploader/usdf.cpp @@ -294,8 +294,7 @@ class USDFParser : public UDMFParserBase check.Item = CheckInventoryActorType(key); break; - case NAME_Count: - // Not yet implemented in the engine. Todo later + case NAME_Amount: check.Amount = CheckInt(key); break; }