summaryrefslogtreecommitdiffstats
path: root/src/Simulator/FluidSimulator.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-02-03 23:42:31 +0100
committerMattes D <github@xoft.cz>2014-02-03 23:42:31 +0100
commit41b8315f534ae5888a08d0f3c0985e43e39be350 (patch)
tree0b6ecf1963f6e5b37aa1746d905fee80751b9c23 /src/Simulator/FluidSimulator.cpp
parentMerge pull request #633 from mc-server/More_Sideways_Blocks (diff)
parentFogot to save Biogen (diff)
downloadcuberite-41b8315f534ae5888a08d0f3c0985e43e39be350.tar
cuberite-41b8315f534ae5888a08d0f3c0985e43e39be350.tar.gz
cuberite-41b8315f534ae5888a08d0f3c0985e43e39be350.tar.bz2
cuberite-41b8315f534ae5888a08d0f3c0985e43e39be350.tar.lz
cuberite-41b8315f534ae5888a08d0f3c0985e43e39be350.tar.xz
cuberite-41b8315f534ae5888a08d0f3c0985e43e39be350.tar.zst
cuberite-41b8315f534ae5888a08d0f3c0985e43e39be350.zip
Diffstat (limited to 'src/Simulator/FluidSimulator.cpp')
-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;
}