summaryrefslogtreecommitdiffstats
path: root/source/Items/ItemFood.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Items/ItemFood.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Items/ItemFood.h b/source/Items/ItemFood.h
index 6e5a27d5d..8faed1d05 100644
--- a/source/Items/ItemFood.h
+++ b/source/Items/ItemFood.h
@@ -7,8 +7,8 @@
class cItemFoodHandler : public cItemHandler
{
public:
- cItemFoodHandler(int a_ItemID)
- : cItemHandler(a_ItemID)
+ cItemFoodHandler(int a_ItemType)
+ : cItemHandler(a_ItemType)
{
}
@@ -19,7 +19,7 @@ public:
virtual FoodInfo GetFoodInfo() override
{
- switch(m_ItemID)
+ switch(m_ItemType)
{
case E_ITEM_BREAD:
return FoodInfo(5, 6.f);