summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockSignPost.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-08-04 22:22:08 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-08-04 22:22:08 +0200
commit0b9eb20b92f49feeb34626eef4590f7938a93480 (patch)
tree7594816f43809b39d684a3fadbe9fa6b6440a0bb /src/Blocks/BlockSignPost.h
parentMade AllToLua output consistent (diff)
downloadcuberite-0b9eb20b92f49feeb34626eef4590f7938a93480.tar
cuberite-0b9eb20b92f49feeb34626eef4590f7938a93480.tar.gz
cuberite-0b9eb20b92f49feeb34626eef4590f7938a93480.tar.bz2
cuberite-0b9eb20b92f49feeb34626eef4590f7938a93480.tar.lz
cuberite-0b9eb20b92f49feeb34626eef4590f7938a93480.tar.xz
cuberite-0b9eb20b92f49feeb34626eef4590f7938a93480.tar.zst
cuberite-0b9eb20b92f49feeb34626eef4590f7938a93480.zip
Diffstat (limited to 'src/Blocks/BlockSignPost.h')
-rw-r--r--src/Blocks/BlockSignPost.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Blocks/BlockSignPost.h b/src/Blocks/BlockSignPost.h
index ee65d099a..d0cc760b0 100644
--- a/src/Blocks/BlockSignPost.h
+++ b/src/Blocks/BlockSignPost.h
@@ -39,8 +39,9 @@ public:
{
return false;
}
+ BLOCKTYPE Type = a_Chunk.GetBlock(a_RelX, a_RelY - 1, a_RelZ);
- return (cBlockInfo::IsSolid(a_Chunk.GetBlock(a_RelX, a_RelY - 1, a_RelZ)));
+ return ((Type == E_BLOCK_SIGN_POST) || cBlockInfo::IsSolid(Type));
}