summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-04-02 21:03:42 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-04-02 21:03:42 +0200
commit43af11ee3808fa9836fc9467cacd73b78118c3c2 (patch)
tree233fd3771c431cc4e40edbbecd3e8eba4dad6a38
parentFinal realisation of suggestions (diff)
downloadcuberite-43af11ee3808fa9836fc9467cacd73b78118c3c2.tar
cuberite-43af11ee3808fa9836fc9467cacd73b78118c3c2.tar.gz
cuberite-43af11ee3808fa9836fc9467cacd73b78118c3c2.tar.bz2
cuberite-43af11ee3808fa9836fc9467cacd73b78118c3c2.tar.lz
cuberite-43af11ee3808fa9836fc9467cacd73b78118c3c2.tar.xz
cuberite-43af11ee3808fa9836fc9467cacd73b78118c3c2.tar.zst
cuberite-43af11ee3808fa9836fc9467cacd73b78118c3c2.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockFluid.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Blocks/BlockFluid.h b/src/Blocks/BlockFluid.h
index 1200997ff..1f0c3833c 100644
--- a/src/Blocks/BlockFluid.h
+++ b/src/Blocks/BlockFluid.h
@@ -1,4 +1,3 @@
-
#pragma once
#include "BlockHandler.h"
@@ -94,10 +93,8 @@ 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;