summaryrefslogtreecommitdiffstats
path: root/src/Simulator/VanillaFluidSimulator.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-05-02 22:07:30 +0200
committermadmaxoft <github@xoft.cz>2014-05-02 22:07:30 +0200
commit58224863c0e3c61f28e2f345e53ee632043de9c4 (patch)
tree70805db1e9b6041351ee2d764f8ea34b3b31c7be /src/Simulator/VanillaFluidSimulator.h
parentFixed a buffer overflow in cChunk:SetLight(). (diff)
downloadcuberite-58224863c0e3c61f28e2f345e53ee632043de9c4.tar
cuberite-58224863c0e3c61f28e2f345e53ee632043de9c4.tar.gz
cuberite-58224863c0e3c61f28e2f345e53ee632043de9c4.tar.bz2
cuberite-58224863c0e3c61f28e2f345e53ee632043de9c4.tar.lz
cuberite-58224863c0e3c61f28e2f345e53ee632043de9c4.tar.xz
cuberite-58224863c0e3c61f28e2f345e53ee632043de9c4.tar.zst
cuberite-58224863c0e3c61f28e2f345e53ee632043de9c4.zip
Diffstat (limited to '')
-rw-r--r--src/Simulator/VanillaFluidSimulator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/VanillaFluidSimulator.h b/src/Simulator/VanillaFluidSimulator.h
index a9ea98b5a..89a56ca14 100644
--- a/src/Simulator/VanillaFluidSimulator.h
+++ b/src/Simulator/VanillaFluidSimulator.h
@@ -30,7 +30,7 @@ public:
protected:
// cFloodyFluidSimulator overrides:
- virtual void Spread(cChunk * a_Chunk, int a_RelX, int a_RelY, int a_RelZ, NIBBLETYPE a_NewMeta) override;
+ virtual void SpreadXZ(cChunk * a_Chunk, int a_RelX, int a_RelY, int a_RelZ, NIBBLETYPE a_NewMeta) override;
/** Recursively calculates the minimum number of blocks needed to descend a level. */
int CalculateFlowCost(cChunk * a_Chunk, int a_RelX, int a_RelY, int a_RelZ, Direction a_Dir, unsigned a_Iteration = 0);