diff options
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemRawChicken.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Items/ItemRawChicken.h b/src/Items/ItemRawChicken.h index e1a6d4870..95acd3194 100644 --- a/src/Items/ItemRawChicken.h +++ b/src/Items/ItemRawChicken.h @@ -7,20 +7,21 @@ -class cItemRawChickenHandler : +class cItemRawChickenHandler: public cItemFoodHandler { - typedef cItemFoodHandler super; + using Super = cItemFoodHandler; public: - cItemRawChickenHandler() - : super(E_ITEM_RAW_CHICKEN, FoodInfo(2, 1.2)) + + cItemRawChickenHandler(): + Super(E_ITEM_RAW_CHICKEN, FoodInfo(2, 1.2)) { } virtual bool EatItem(cPlayer * a_Player, cItem * a_Item) override { - if (!super::EatItem(a_Player, a_Item)) + if (!Super::EatItem(a_Player, a_Item)) { return false; } |