summaryrefslogtreecommitdiffstats
path: root/sigmod/Item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigmod/Item.cpp')
-rw-r--r--sigmod/Item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sigmod/Item.cpp b/sigmod/Item.cpp
index 172660a8..0ac9f360 100644
--- a/sigmod/Item.cpp
+++ b/sigmod/Item.cpp
@@ -123,7 +123,7 @@ GETTER(Item, Sigcore::Script, script)
CHECK(Item, QString&, name)
CHECK(Item, bool, sellable)
-CHECK_INDEX(Item, int, type, sigmod(), type)
+CHECK_INDEX(Item, int, type, sigmod(), itemType)
CHECK_BOUNDS(Item, int, price, 1, sigmod()->rules()->maxMoney())
CHECK_BOUNDS(Item, int, sellPrice, 0, m_price)
CHECK_BEGIN(Item, int, weight)