diff options
author | madmaxoft <github@xoft.cz> | 2014-07-18 22:45:50 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-18 22:45:50 +0200 |
commit | 749f073d7092d3ad44005f061132bdd71cef8e7b (patch) | |
tree | ce9a9170b1cc0a4de41f2bd5df1da900bac9d206 /src/Blocks/BlockHandler.cpp | |
parent | Monster fixes (diff) | |
parent | Normalized code style for both sign handlers. (diff) | |
download | cuberite-749f073d7092d3ad44005f061132bdd71cef8e7b.tar cuberite-749f073d7092d3ad44005f061132bdd71cef8e7b.tar.gz cuberite-749f073d7092d3ad44005f061132bdd71cef8e7b.tar.bz2 cuberite-749f073d7092d3ad44005f061132bdd71cef8e7b.tar.lz cuberite-749f073d7092d3ad44005f061132bdd71cef8e7b.tar.xz cuberite-749f073d7092d3ad44005f061132bdd71cef8e7b.tar.zst cuberite-749f073d7092d3ad44005f061132bdd71cef8e7b.zip |
Diffstat (limited to 'src/Blocks/BlockHandler.cpp')
-rw-r--r-- | src/Blocks/BlockHandler.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp index 97762f9bd..8ab4116f4 100644 --- a/src/Blocks/BlockHandler.cpp +++ b/src/Blocks/BlockHandler.cpp @@ -70,7 +70,7 @@ #include "BlockSand.h" #include "BlockSapling.h" #include "BlockSideways.h" -#include "BlockSign.h" +#include "BlockSignPost.h" #include "BlockSlab.h" #include "BlockSnow.h" #include "BlockStairs.h" @@ -81,6 +81,7 @@ #include "BlockTorch.h" #include "BlockTrapdoor.h" #include "BlockVine.h" +#include "BlockWallSign.h" #include "BlockWorkbench.h" @@ -275,7 +276,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType) case E_BLOCK_SAND: return new cBlockSandHandler (a_BlockType); case E_BLOCK_SANDSTONE_STAIRS: return new cBlockStairsHandler (a_BlockType); case E_BLOCK_SAPLING: return new cBlockSaplingHandler (a_BlockType); - case E_BLOCK_SIGN_POST: return new cBlockSignHandler (a_BlockType); + case E_BLOCK_SIGN_POST: return new cBlockSignPostHandler (a_BlockType); case E_BLOCK_SNOW: return new cBlockSnowHandler (a_BlockType); case E_BLOCK_SPRUCE_WOOD_STAIRS: return new cBlockStairsHandler (a_BlockType); case E_BLOCK_STAINED_GLASS: return new cBlockGlassHandler (a_BlockType); @@ -297,7 +298,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType) case E_BLOCK_TRIPWIRE: return new cBlockTripwireHandler (a_BlockType); case E_BLOCK_TRIPWIRE_HOOK: return new cBlockTripwireHookHandler (a_BlockType); case E_BLOCK_VINES: return new cBlockVineHandler (a_BlockType); - case E_BLOCK_WALLSIGN: return new cBlockSignHandler (a_BlockType); // TODO: This needs a special handler + case E_BLOCK_WALLSIGN: return new cBlockWallSignHandler (a_BlockType); case E_BLOCK_WATER: return new cBlockFluidHandler (a_BlockType); case E_BLOCK_WOODEN_BUTTON: return new cBlockButtonHandler (a_BlockType); case E_BLOCK_WOODEN_DOOR: return new cBlockDoorHandler (a_BlockType); |