diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-09 16:53:03 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-09 16:53:03 +0100 |
commit | 888c3f1af7b817ab770703ce0638e0eef07d2d31 (patch) | |
tree | e359f36082bb15ea035e6f6edc0f784472afdaee | |
parent | Beds now work properly fixes #707 (diff) | |
download | cuberite-888c3f1af7b817ab770703ce0638e0eef07d2d31.tar cuberite-888c3f1af7b817ab770703ce0638e0eef07d2d31.tar.gz cuberite-888c3f1af7b817ab770703ce0638e0eef07d2d31.tar.bz2 cuberite-888c3f1af7b817ab770703ce0638e0eef07d2d31.tar.lz cuberite-888c3f1af7b817ab770703ce0638e0eef07d2d31.tar.xz cuberite-888c3f1af7b817ab770703ce0638e0eef07d2d31.tar.zst cuberite-888c3f1af7b817ab770703ce0638e0eef07d2d31.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockBed.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockBed.cpp b/src/Blocks/BlockBed.cpp index ca3927827..6a3c6a55b 100644 --- a/src/Blocks/BlockBed.cpp +++ b/src/Blocks/BlockBed.cpp @@ -122,7 +122,7 @@ void cBlockBedHandler::OnUse(cChunkInterface & a_ChunkInterface, cWorldInterface else { // Is foot end - VERIFY((Meta & 0x4) != 1); // Occupied flag should never be set, else our compilator (intended) is broken + VERIFY((Meta & 0x4) != 0x4); // Occupied flag should never be set, else our compilator (intended) is broken PillowDirection = MetaDataToDirection(Meta & 0x7); if (a_ChunkInterface.GetBlock(a_BlockX + PillowDirection.x, a_BlockY, a_BlockZ + PillowDirection.z) == E_BLOCK_BED) // Must always use pillow location for sleeping |