diff options
Diffstat (limited to '')
-rw-r--r-- | source/Simulator/ClassicFluidSimulator.cpp | 4 | ||||
-rw-r--r-- | source/Simulator/FloodyFluidSimulator.cpp | 2 |
2 files changed, 3 insertions, 3 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);
}
}
diff --git a/source/Simulator/FloodyFluidSimulator.cpp b/source/Simulator/FloodyFluidSimulator.cpp index e89bb6bf6..9d4cda2fc 100644 --- a/source/Simulator/FloodyFluidSimulator.cpp +++ b/source/Simulator/FloodyFluidSimulator.cpp @@ -240,7 +240,7 @@ void cFloodyFluidSimulator::SpreadToNeighbor(int a_BlockX, int a_BlockY, int a_B cBlockHandler * Handler = BlockHandler(Block);
if (Handler->DoesDropOnUnsuitable())
{
- Handler->DropBlock(m_World, a_BlockX, a_BlockY, a_BlockZ);
+ Handler->DropBlock(m_World, NULL, a_BlockX, a_BlockY, a_BlockZ);
}
}
|