Fix IfItem amount not being checked (#1262)

This commit is contained in:
Emily 2021-01-02 13:39:14 +01:00 committed by GitHub
parent e917cd0a2c
commit 7db7b0c7e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}