summaryrefslogtreecommitdiffstats
path: root/src/Items
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-07-18 02:19:30 +0200
committerHowaner <franzi.moos@googlemail.com>2014-07-18 02:19:30 +0200
commiteeacb6f2223f88a64ce877458c58fa60194e45a6 (patch)
treeed9473ee963f5d3482f9684e1a7483c6f32c7193 /src/Items
parentFixed NULL being passed instead of a double to AddEntityEffect (diff)
downloadcuberite-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/Items')
-rw-r--r--src/Items/ItemSign.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Items/ItemSign.h b/src/Items/ItemSign.h
index 235a4fa93..0fa0fa0be 100644
--- a/src/Items/ItemSign.h
+++ b/src/Items/ItemSign.h
@@ -3,7 +3,8 @@
#include "ItemHandler.h"
#include "../World.h"
-#include "../Blocks/BlockSign.h"
+#include "../Blocks/BlockSignPost.h"
+#include "../Blocks/BlockWallSign.h"
@@ -34,12 +35,12 @@ public:
{
if (a_BlockFace == BLOCK_FACE_TOP)
{
- a_BlockMeta = cBlockSignHandler::RotationToMetaData(a_Player->GetYaw());
+ a_BlockMeta = cBlockSignPostHandler::RotationToMetaData(a_Player->GetYaw());
a_BlockType = E_BLOCK_SIGN_POST;
}
else
{
- a_BlockMeta = cBlockSignHandler::DirectionToMetaData(a_BlockFace);
+ a_BlockMeta = cBlockWallSignHandler::DirectionToMetaData(a_BlockFace);
a_BlockType = E_BLOCK_WALLSIGN;
}
return true;