summaryrefslogtreecommitdiffstats
path: root/src/Simulator
diff options
context:
space:
mode:
authorIvan Đorđević <blashyrk92@gmail.com>2014-12-17 11:25:59 +0100
committerIvan Đorđević <blashyrk92@gmail.com>2014-12-17 11:25:59 +0100
commit99055f644b527f5e20b26c3914acfe9a2d1c8d85 (patch)
tree94f9fe49afdcf6606573d9d879456b69283ee370 /src/Simulator
parentMerge branch 'master' of https://github.com/gushromp/MCServer (diff)
downloadcuberite-99055f644b527f5e20b26c3914acfe9a2d1c8d85.tar
cuberite-99055f644b527f5e20b26c3914acfe9a2d1c8d85.tar.gz
cuberite-99055f644b527f5e20b26c3914acfe9a2d1c8d85.tar.bz2
cuberite-99055f644b527f5e20b26c3914acfe9a2d1c8d85.tar.lz
cuberite-99055f644b527f5e20b26c3914acfe9a2d1c8d85.tar.xz
cuberite-99055f644b527f5e20b26c3914acfe9a2d1c8d85.tar.zst
cuberite-99055f644b527f5e20b26c3914acfe9a2d1c8d85.zip
Diffstat (limited to 'src/Simulator')
-rw-r--r--src/Simulator/FloodyFluidSimulator.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Simulator/FloodyFluidSimulator.cpp b/src/Simulator/FloodyFluidSimulator.cpp
index 1d638737e..37d58307b 100644
--- a/src/Simulator/FloodyFluidSimulator.cpp
+++ b/src/Simulator/FloodyFluidSimulator.cpp
@@ -58,7 +58,6 @@ void cFloodyFluidSimulator::SimulateBlock(cChunk * a_Chunk, int a_RelX, int a_Re
BLOCKTYPE MyBlock; NIBBLETYPE MyMeta;
a_Chunk->GetBlockTypeMeta(a_RelX, a_RelY, a_RelZ, MyBlock, MyMeta);
-
if (!IsAnyFluidBlock(MyBlock))
{
// Can happen - if a block is scheduled for simulating and gets replaced in the meantime.
@@ -121,12 +120,7 @@ void cFloodyFluidSimulator::SimulateBlock(cChunk * a_Chunk, int a_RelX, int a_Re
// Also has been re-scheduled for ticking in the next wave, so no marking is needed
return;
}
-
-
}
-
-
-
// Mark as processed:
a_Chunk->FastSetBlock(a_RelX, a_RelY, a_RelZ, m_StationaryFluidBlock, MyMeta);