diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-27 03:00:33 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-27 03:00:33 +0100 |
commit | 1a127f5510f654d47ee75b3121e52c50d3e7533b (patch) | |
tree | a968d54114b660c637bb6a9ce4102cb8257e0903 /source/Simulator/ClassicFluidSimulator.cpp | |
parent | Removed cMCLogger from Lua API (diff) | |
download | cuberite-1a127f5510f654d47ee75b3121e52c50d3e7533b.tar cuberite-1a127f5510f654d47ee75b3121e52c50d3e7533b.tar.gz cuberite-1a127f5510f654d47ee75b3121e52c50d3e7533b.tar.bz2 cuberite-1a127f5510f654d47ee75b3121e52c50d3e7533b.tar.lz cuberite-1a127f5510f654d47ee75b3121e52c50d3e7533b.tar.xz cuberite-1a127f5510f654d47ee75b3121e52c50d3e7533b.tar.zst cuberite-1a127f5510f654d47ee75b3121e52c50d3e7533b.zip |
Diffstat (limited to 'source/Simulator/ClassicFluidSimulator.cpp')
-rw-r--r-- | source/Simulator/ClassicFluidSimulator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Simulator/ClassicFluidSimulator.cpp b/source/Simulator/ClassicFluidSimulator.cpp index 232e8205d..e195ffdc5 100644 --- a/source/Simulator/ClassicFluidSimulator.cpp +++ b/source/Simulator/ClassicFluidSimulator.cpp @@ -384,7 +384,7 @@ void cClassicFluidSimulator::Simulate(float a_Dt) cBlockHandler * Handler = BlockHandler(DownID);
if (Handler->DoesDropOnUnsuitable())
{
- Handler->DropBlock(m_World, pos.x, pos.y - 1, pos.z);
+ Handler->DropBlock(m_World, NULL, pos.x, pos.y - 1, pos.z);
}
}
if (pos.y > 0)
@@ -420,7 +420,7 @@ void cClassicFluidSimulator::Simulate(float a_Dt) cBlockHandler * Handler = BlockHandler(DownID);
if (Handler->DoesDropOnUnsuitable())
{
- Handler->DropBlock(m_World, p.x, p.y, p.z);
+ Handler->DropBlock(m_World, NULL, p.x, p.y, p.z);
}
}
|