summaryrefslogtreecommitdiffstats
path: root/source/cWaterSimulator.cpp
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-14 14:37:13 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-14 14:37:13 +0100
commit9f38c219e2851324b8b2694315abed4d3138fca2 (patch)
tree6114c3a98299274030561cab343b35e2dabb78c8 /source/cWaterSimulator.cpp
parentFixing build for linux using GNUmakefile (explicitly removed LeakFinder and StackWalker) (diff)
downloadcuberite-9f38c219e2851324b8b2694315abed4d3138fca2.tar
cuberite-9f38c219e2851324b8b2694315abed4d3138fca2.tar.gz
cuberite-9f38c219e2851324b8b2694315abed4d3138fca2.tar.bz2
cuberite-9f38c219e2851324b8b2694315abed4d3138fca2.tar.lz
cuberite-9f38c219e2851324b8b2694315abed4d3138fca2.tar.xz
cuberite-9f38c219e2851324b8b2694315abed4d3138fca2.tar.zst
cuberite-9f38c219e2851324b8b2694315abed4d3138fca2.zip
Diffstat (limited to '')
-rw-r--r--source/cWaterSimulator.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/cWaterSimulator.cpp b/source/cWaterSimulator.cpp
index 823c6c587..22f4ece00 100644
--- a/source/cWaterSimulator.cpp
+++ b/source/cWaterSimulator.cpp
@@ -1,10 +1,7 @@
-
-#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
-
+#include "Globals.h"
#include "cWaterSimulator.h"
#include "Defines.h"
-
-
+#include "cWorld.h"
@@ -12,6 +9,7 @@ cWaterSimulator::cWaterSimulator(cWorld *a_World)
: cFluidSimulator(a_World)
{
m_FluidBlock = E_BLOCK_WATER;
+ m_StationaryFluidBlock = E_BLOCK_STATIONARY_WATER;
m_MaxHeight = 7;
m_FlowReduction = 1;
}