summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemSword.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Items/ItemSword.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Items/ItemSword.h b/src/Items/ItemSword.h
index cdb85727c..cb2e63c87 100644
--- a/src/Items/ItemSword.h
+++ b/src/Items/ItemSword.h
@@ -8,13 +8,15 @@
-class cItemSwordHandler :
+class cItemSwordHandler:
public cItemHandler
{
- typedef cItemHandler super;
+ using Super = cItemHandler;
+
public:
+
cItemSwordHandler(int a_ItemType):
- cItemHandler(a_ItemType)
+ Super(a_ItemType)
{
}
@@ -25,7 +27,7 @@ public:
{
return true;
}
- return super::CanHarvestBlock(a_BlockType);
+ return Super::CanHarvestBlock(a_BlockType);
}