diff options
author | Masy98 <masy@antheruscraft.de> | 2014-09-09 16:28:08 +0200 |
---|---|---|
committer | Masy98 <masy@antheruscraft.de> | 2014-09-09 16:28:08 +0200 |
commit | 6cc4ac0bcaf7100a471b31606d97e9bbcd026722 (patch) | |
tree | 24a746e7d418ee4449d79d28d6cc119cf891971b | |
parent | Moved sound-configs into BlockID.h and fixed/ added loads of sounds (diff) | |
download | cuberite-6cc4ac0bcaf7100a471b31606d97e9bbcd026722.tar cuberite-6cc4ac0bcaf7100a471b31606d97e9bbcd026722.tar.gz cuberite-6cc4ac0bcaf7100a471b31606d97e9bbcd026722.tar.bz2 cuberite-6cc4ac0bcaf7100a471b31606d97e9bbcd026722.tar.lz cuberite-6cc4ac0bcaf7100a471b31606d97e9bbcd026722.tar.xz cuberite-6cc4ac0bcaf7100a471b31606d97e9bbcd026722.tar.zst cuberite-6cc4ac0bcaf7100a471b31606d97e9bbcd026722.zip |
-rw-r--r-- | src/Blocks/BlockDoor.cpp | 9 | ||||
-rw-r--r-- | src/Blocks/BlockDoor.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/Blocks/BlockDoor.cpp b/src/Blocks/BlockDoor.cpp index e80473cb5..1204debab 100644 --- a/src/Blocks/BlockDoor.cpp +++ b/src/Blocks/BlockDoor.cpp @@ -109,15 +109,6 @@ void cBlockDoorHandler::OnPlacedByPlayer( -const char * cBlockDoorHandler::GetStepSound(void) -{ - return (m_BlockType == E_BLOCK_WOODEN_DOOR) ? "step.wood" : "step.stone"; -} - - - - - NIBBLETYPE cBlockDoorHandler::MetaRotateCCW(NIBBLETYPE a_Meta) { if (a_Meta & 0x08) diff --git a/src/Blocks/BlockDoor.h b/src/Blocks/BlockDoor.h index c86fe829b..69e30d9c8 100644 --- a/src/Blocks/BlockDoor.h +++ b/src/Blocks/BlockDoor.h @@ -19,7 +19,6 @@ public: virtual void OnDestroyed(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, int a_BlockX, int a_BlockY, int a_BlockZ) override; virtual void OnUse(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ) override; virtual void OnCancelRightClick(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cPlayer * a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace) override; - virtual const char * GetStepSound(void) override; virtual NIBBLETYPE MetaRotateCCW(NIBBLETYPE a_Meta) override; virtual NIBBLETYPE MetaRotateCW(NIBBLETYPE a_Meta) override; |