summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemRottenFlesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Items/ItemRottenFlesh.h')
-rw-r--r--src/Items/ItemRottenFlesh.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Items/ItemRottenFlesh.h b/src/Items/ItemRottenFlesh.h
index a4b34e8bc..bd7f67382 100644
--- a/src/Items/ItemRottenFlesh.h
+++ b/src/Items/ItemRottenFlesh.h
@@ -7,20 +7,21 @@
-class cItemRottenFleshHandler :
+class cItemRottenFleshHandler:
public cItemFoodHandler
{
- typedef cItemFoodHandler super;
+ using Super = cItemFoodHandler;
public:
- cItemRottenFleshHandler()
- : super(E_ITEM_ROTTEN_FLESH, FoodInfo(4, 0.8))
+
+ cItemRottenFleshHandler():
+ Super(E_ITEM_ROTTEN_FLESH, FoodInfo(4, 0.8))
{
}
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;
}