summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemFood.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Items/ItemFood.h')
-rw-r--r--src/Items/ItemFood.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemFood.h b/src/Items/ItemFood.h
index cfdac26c6..5111d4087 100644
--- a/src/Items/ItemFood.h
+++ b/src/Items/ItemFood.h
@@ -59,7 +59,7 @@ public:
case E_ITEM_STEAK: return FoodInfo(8, 12.8);
}
LOGWARNING("%s: Unknown food item (%d), returning zero nutrition", __FUNCTION__, m_ItemType);
- return FoodInfo(0, 0.f);
+ return FoodInfo(0, 0);
}
virtual bool GetEatEffect(cEntityEffect::eType & a_EffectType, int & a_EffectDurationTicks, short & a_EffectIntensity, float & a_Chance) override