summaryrefslogtreecommitdiffstats
path: root/src/Simulator/FloodyFluidSimulator.cpp
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-05-28 13:29:26 +0200
committertycho <work.tycho@gmail.com>2015-05-28 13:54:04 +0200
commitb2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0 (patch)
treeff9846d0ffa558e237ea148762f67b5ebf71a47d /src/Simulator/FloodyFluidSimulator.cpp
parentMerge branch 'master' into PreventNewWarnings (diff)
downloadcuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar
cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar.gz
cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar.bz2
cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar.lz
cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar.xz
cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.tar.zst
cuberite-b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0.zip
Diffstat (limited to '')
-rw-r--r--src/Simulator/FloodyFluidSimulator.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Simulator/FloodyFluidSimulator.cpp b/src/Simulator/FloodyFluidSimulator.cpp
index e7082d9ab..69c46f090 100644
--- a/src/Simulator/FloodyFluidSimulator.cpp
+++ b/src/Simulator/FloodyFluidSimulator.cpp
@@ -260,7 +260,9 @@ void cFloodyFluidSimulator::SpreadToNeighbor(cChunk * a_NearChunk, int a_RelX, i
static_cast<double>(BlockX),
static_cast<double>(a_RelY),
static_cast<double>(BlockZ),
- 0.5f, 1.5f);
+ 0.5f,
+ 1.5f
+ );
return;
}
}
@@ -280,7 +282,9 @@ void cFloodyFluidSimulator::SpreadToNeighbor(cChunk * a_NearChunk, int a_RelX, i
static_cast<double>(BlockX),
static_cast<double>(a_RelY),
static_cast<double>(BlockZ),
- 0.5f, 1.5f);
+ 0.5f,
+ 1.5f
+ );
return;
}
}