summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockFluid.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-31 22:36:19 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-31 22:36:19 +0200
commitfc940b6da4fd446e718879a19790af03dadfe2f4 (patch)
tree6e6d8f85f3067b2da3ed274b27c7683319b2067c /src/Blocks/BlockFluid.h
parentSimplified and fixed slabs, fixes #835 (diff)
downloadcuberite-fc940b6da4fd446e718879a19790af03dadfe2f4.tar
cuberite-fc940b6da4fd446e718879a19790af03dadfe2f4.tar.gz
cuberite-fc940b6da4fd446e718879a19790af03dadfe2f4.tar.bz2
cuberite-fc940b6da4fd446e718879a19790af03dadfe2f4.tar.lz
cuberite-fc940b6da4fd446e718879a19790af03dadfe2f4.tar.xz
cuberite-fc940b6da4fd446e718879a19790af03dadfe2f4.tar.zst
cuberite-fc940b6da4fd446e718879a19790af03dadfe2f4.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockFluid.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Blocks/BlockFluid.h b/src/Blocks/BlockFluid.h
index 361b97c60..1200997ff 100644
--- a/src/Blocks/BlockFluid.h
+++ b/src/Blocks/BlockFluid.h
@@ -94,7 +94,10 @@ public:
BLOCKTYPE BlockType;
if (
((a_RelY + y < 0) || (a_RelY + y > cChunkDef::Height)) ||
- (!a_Chunk.UnboundedRelGetBlockType(a_RelX + x, a_RelY + y, a_RelZ + z, BlockType) || !cFireSimulator::IsFuel(BlockType))
+ (
+ !a_Chunk.UnboundedRelGetBlockType(a_RelX + x, a_RelY + y, a_RelZ + z, BlockType) ||
+ !cFireSimulator::IsFuel(BlockType)
+ )
)
{
return false;