summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockButton.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-03-02 16:13:43 +0100
committerMattes D <github@xoft.cz>2014-03-02 16:13:43 +0100
commitb17d04737d11c5698a6869c70031646723d79f11 (patch)
treed71275553552a16dd2b9ba949cd5abf8baf9fa5a /src/Blocks/BlockButton.h
parentMerge pull request #745 from tonibm19/master (diff)
parentGetById => Get (diff)
downloadcuberite-b17d04737d11c5698a6869c70031646723d79f11.tar
cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar.gz
cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar.bz2
cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar.lz
cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar.xz
cuberite-b17d04737d11c5698a6869c70031646723d79f11.tar.zst
cuberite-b17d04737d11c5698a6869c70031646723d79f11.zip
Diffstat (limited to 'src/Blocks/BlockButton.h')
-rw-r--r--src/Blocks/BlockButton.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockButton.h b/src/Blocks/BlockButton.h
index ca6850ced..2db9b7ec7 100644
--- a/src/Blocks/BlockButton.h
+++ b/src/Blocks/BlockButton.h
@@ -101,7 +101,7 @@ public:
AddFaceDirection(a_RelX, a_RelY, a_RelZ, BlockMetaDataToBlockFace(Meta), true);
BLOCKTYPE BlockIsOn; a_Chunk.UnboundedRelGetBlockType(a_RelX, a_RelY, a_RelZ, BlockIsOn);
- return (a_RelY > 0) && (g_BlockIsSolid[BlockIsOn]);
+ return (a_RelY > 0) && (cBlockInfo::IsSolid(BlockIsOn));
}
} ;