summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemRawFish.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Items/ItemRawFish.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Items/ItemRawFish.h b/src/Items/ItemRawFish.h
index 7f9f49e2a..22836272f 100644
--- a/src/Items/ItemRawFish.h
+++ b/src/Items/ItemRawFish.h
@@ -7,14 +7,15 @@
-class cItemRawFishHandler :
+class cItemRawFishHandler:
public cItemFoodHandler
{
- typedef cItemFoodHandler super;
+ using Super = cItemFoodHandler;
public:
- cItemRawFishHandler()
- : super(E_ITEM_RAW_FISH, FoodInfo(0, 0))
+
+ cItemRawFishHandler():
+ Super(E_ITEM_RAW_FISH, FoodInfo(0, 0))
{
}
@@ -38,7 +39,7 @@ public:
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;
}