diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-09-05 16:56:31 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-09-05 16:56:31 +0200 |
commit | 28f66efe307150558f4ad2546e058370a828be3e (patch) | |
tree | 2ef088aa2d1a8ae85007b34b463d5044847bf006 /src/Items/ItemSword.h | |
parent | Merge branch 'master' into ComponentRewrite (diff) | |
download | cuberite-28f66efe307150558f4ad2546e058370a828be3e.tar cuberite-28f66efe307150558f4ad2546e058370a828be3e.tar.gz cuberite-28f66efe307150558f4ad2546e058370a828be3e.tar.bz2 cuberite-28f66efe307150558f4ad2546e058370a828be3e.tar.lz cuberite-28f66efe307150558f4ad2546e058370a828be3e.tar.xz cuberite-28f66efe307150558f4ad2546e058370a828be3e.tar.zst cuberite-28f66efe307150558f4ad2546e058370a828be3e.zip |
Diffstat (limited to 'src/Items/ItemSword.h')
-rw-r--r-- | src/Items/ItemSword.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Items/ItemSword.h b/src/Items/ItemSword.h index e806801e0..2b2dbfc0d 100644 --- a/src/Items/ItemSword.h +++ b/src/Items/ItemSword.h @@ -20,7 +20,7 @@ public: } - virtual bool CanHarvestBlock(BLOCKTYPE a_BlockType) /*override*/ + virtual bool CanHarvestBlock(BLOCKTYPE a_BlockType) override { if (a_BlockType == E_BLOCK_COBWEB) { @@ -30,7 +30,7 @@ public: } - virtual bool CanRepairWithRawMaterial(short a_ItemType) /*override*/ + virtual bool CanRepairWithRawMaterial(short a_ItemType) override { switch (m_ItemType) { @@ -44,7 +44,7 @@ public: } - virtual short GetDurabilityLossByAction(eDurabilityLostAction a_Action) /*override*/ + virtual short GetDurabilityLossByAction(eDurabilityLostAction a_Action) override { switch ((int)a_Action) { |