Fix IfItem amount not being checked (#1262)

This commit is contained in:
Emily 2021-01-02 13:39:14 +01:00 committed by drfrag
parent 0f62bdd99e
commit 8d28db3419

View file

@ -293,8 +293,7 @@ class USDFParser : public UDMFParserBase
check.Item = CheckInventoryActorType(key); check.Item = CheckInventoryActorType(key);
break; break;
case NAME_Count: case NAME_Amount:
// Not yet implemented in the engine. Todo later
check.Amount = CheckInt(key); check.Amount = CheckInt(key);
break; break;
} }