diff options
author | Samuel Barney <samjbarney@gmail.com> | 2014-08-21 21:37:41 +0200 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2014-08-21 21:37:41 +0200 |
commit | 6db727c60c01264dc9a9c209c5b335da8f53cd64 (patch) | |
tree | 1ec865e37c74c571de0bc7249d1b5f17dd8f5a1c /src/Items/ItemShears.h | |
parent | commented out unused functions (diff) | |
download | cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.gz cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.bz2 cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.lz cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.xz cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.zst cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemShears.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Items/ItemShears.h b/src/Items/ItemShears.h index fa2794df2..77d5df3ba 100644 --- a/src/Items/ItemShears.h +++ b/src/Items/ItemShears.h @@ -20,13 +20,13 @@ public: } - virtual bool IsTool(void) override + virtual bool IsTool(void) /*override*/ { return true; } - virtual bool OnDiggingBlock(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_Dir) override + virtual bool OnDiggingBlock(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_Dir) /*override*/ { BLOCKTYPE Block = a_World->GetBlock(a_BlockX, a_BlockY, a_BlockZ); if ((Block == E_BLOCK_LEAVES) || (Block == E_BLOCK_NEW_LEAVES)) @@ -47,7 +47,7 @@ public: } - virtual bool CanHarvestBlock(BLOCKTYPE a_BlockType) override + virtual bool CanHarvestBlock(BLOCKTYPE a_BlockType) /*override*/ { switch (a_BlockType) { @@ -63,13 +63,13 @@ public: } - virtual short GetDurabilityLossByAction(eDurabilityLostAction a_Action) override + virtual short GetDurabilityLossByAction(eDurabilityLostAction a_Action) /*override*/ { return 0; } - virtual void OnBlockDestroyed(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ) override + virtual void OnBlockDestroyed(cWorld * a_World, cPlayer * a_Player, const cItem & a_Item, int a_BlockX, int a_BlockY, int a_BlockZ) /*override*/ { super::OnBlockDestroyed(a_World, a_Player, a_Item, a_BlockX, a_BlockY, a_BlockZ); |