summaryrefslogtreecommitdiffstats
path: root/src/Simulator/FluidSimulator.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-02-03 21:31:18 +0100
committerTycho <work.tycho+git@gmail.com>2014-02-03 21:31:18 +0100
commitf8881622a4000d769af700396f772bae21d1d117 (patch)
tree8b9eef3e7bc427d7c1bbb16cfe4a756275e98acd /src/Simulator/FluidSimulator.cpp
parentIncreased Type safety of Biomes (diff)
downloadcuberite-f8881622a4000d769af700396f772bae21d1d117.tar
cuberite-f8881622a4000d769af700396f772bae21d1d117.tar.gz
cuberite-f8881622a4000d769af700396f772bae21d1d117.tar.bz2
cuberite-f8881622a4000d769af700396f772bae21d1d117.tar.lz
cuberite-f8881622a4000d769af700396f772bae21d1d117.tar.xz
cuberite-f8881622a4000d769af700396f772bae21d1d117.tar.zst
cuberite-f8881622a4000d769af700396f772bae21d1d117.zip
Diffstat (limited to '')
-rw-r--r--src/Simulator/FluidSimulator.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Simulator/FluidSimulator.cpp b/src/Simulator/FluidSimulator.cpp
index 72b2eb628..61c93ed73 100644
--- a/src/Simulator/FluidSimulator.cpp
+++ b/src/Simulator/FluidSimulator.cpp
@@ -166,14 +166,12 @@ Direction cFluidSimulator::GetFlowingDirection(int a_X, int a_Y, int a_Z, bool a
{
LowestPoint = Meta;
X = Pos->x;
- Pos->y; //Remove if no side effects
Z = Pos->z;
}
}else if(BlockID == E_BLOCK_AIR)
{
LowestPoint = 9; //This always dominates
X = Pos->x;
- Pos->y; //Remove if no side effects
Z = Pos->z;
}