diff options
author | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-25 18:47:01 +0100 |
---|---|---|
committer | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-25 18:47:01 +0100 |
commit | 62abd8f29bbaec6da00b277d0bf4ced54ccab921 (patch) | |
tree | 4921dcb6892e2c5be5e61aedc47a399743a1327f /source/cFluidSimulator.cpp | |
parent | Refactored both simulators (water and lava) to make them more flexible and easier to modify (diff) | |
download | cuberite-62abd8f29bbaec6da00b277d0bf4ced54ccab921.tar cuberite-62abd8f29bbaec6da00b277d0bf4ced54ccab921.tar.gz cuberite-62abd8f29bbaec6da00b277d0bf4ced54ccab921.tar.bz2 cuberite-62abd8f29bbaec6da00b277d0bf4ced54ccab921.tar.lz cuberite-62abd8f29bbaec6da00b277d0bf4ced54ccab921.tar.xz cuberite-62abd8f29bbaec6da00b277d0bf4ced54ccab921.tar.zst cuberite-62abd8f29bbaec6da00b277d0bf4ced54ccab921.zip |
Diffstat (limited to 'source/cFluidSimulator.cpp')
-rw-r--r-- | source/cFluidSimulator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/cFluidSimulator.cpp b/source/cFluidSimulator.cpp index acbb19f56..6eb5dbb0a 100644 --- a/source/cFluidSimulator.cpp +++ b/source/cFluidSimulator.cpp @@ -73,8 +73,9 @@ public: cFluidSimulator::cFluidSimulator( cWorld* a_World )
: m_World(a_World)
- , m_Data(new FluidData(a_World, this))
+ , m_Data(0)
{
+ m_Data = new FluidData(a_World, this);
}
cFluidSimulator::~cFluidSimulator()
|