diff options
author | madmaxoft <github@xoft.cz> | 2014-05-03 19:23:59 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-05-03 19:23:59 +0200 |
commit | 4377a5c31ec39974a4b9597528f95edae166ce29 (patch) | |
tree | eabe36b8911627f3c2f0aa3a99d490a5015a9add /src | |
parent | Seperate instructions for OSX and Linux (diff) | |
download | cuberite-4377a5c31ec39974a4b9597528f95edae166ce29.tar cuberite-4377a5c31ec39974a4b9597528f95edae166ce29.tar.gz cuberite-4377a5c31ec39974a4b9597528f95edae166ce29.tar.bz2 cuberite-4377a5c31ec39974a4b9597528f95edae166ce29.tar.lz cuberite-4377a5c31ec39974a4b9597528f95edae166ce29.tar.xz cuberite-4377a5c31ec39974a4b9597528f95edae166ce29.tar.zst cuberite-4377a5c31ec39974a4b9597528f95edae166ce29.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Simulator/VanillaFluidSimulator.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Simulator/VanillaFluidSimulator.cpp b/src/Simulator/VanillaFluidSimulator.cpp index 28d75214c..18d9b07e1 100644 --- a/src/Simulator/VanillaFluidSimulator.cpp +++ b/src/Simulator/VanillaFluidSimulator.cpp @@ -102,10 +102,7 @@ int cVanillaFluidSimulator::CalculateFlowCost(cChunk * a_Chunk, int a_RelX, int { return Cost; } - if ( - IsPassableForFluid(BlockType) || // The block can be passed by the liquid ... - (IsBlockLiquid(BlockType) && (BlockMeta != 0)) // ... or it is a liquid and not a source block - ) + if (IsPassableForFluid(BlockType) || IsBlockLiquid(BlockType)) { // Path found, exit return a_Iteration; |