diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-07-18 02:19:30 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-07-18 02:19:30 +0200 |
commit | eeacb6f2223f88a64ce877458c58fa60194e45a6 (patch) | |
tree | ed9473ee963f5d3482f9684e1a7483c6f32c7193 /src/Blocks/BlockHandler.cpp | |
parent | Fixed NULL being passed instead of a double to AddEntityEffect (diff) | |
download | cuberite-eeacb6f2223f88a64ce877458c58fa60194e45a6.tar cuberite-eeacb6f2223f88a64ce877458c58fa60194e45a6.tar.gz cuberite-eeacb6f2223f88a64ce877458c58fa60194e45a6.tar.bz2 cuberite-eeacb6f2223f88a64ce877458c58fa60194e45a6.tar.lz cuberite-eeacb6f2223f88a64ce877458c58fa60194e45a6.tar.xz cuberite-eeacb6f2223f88a64ce877458c58fa60194e45a6.tar.zst cuberite-eeacb6f2223f88a64ce877458c58fa60194e45a6.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); |