diff options
Diffstat (limited to 'src/Items/ItemHandler.h')
-rw-r--r-- | src/Items/ItemHandler.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Items/ItemHandler.h b/src/Items/ItemHandler.h index 8141bfb23..9689ec50d 100644 --- a/src/Items/ItemHandler.h +++ b/src/Items/ItemHandler.h @@ -127,10 +127,7 @@ public: } ; /** Returns the FoodInfo for this item. (FoodRecovery and Saturation) */ - virtual FoodInfo GetFoodInfo(); - - /** If this function returns true, it sets the arguments to a effect who will be activated when you eat the item. */ - virtual bool GetEatEffect(cEntityEffect::eType & a_EffectType, int & a_EffectDurationTicks, short & a_EffectIntensity, float & a_Chance); + virtual FoodInfo GetFoodInfo(const cItem * a_Item); /** Lets the player eat a selected item. Returns true if the player ate the item */ virtual bool EatItem(cPlayer * a_Player, cItem * a_Item); |