Merge pull request #1819 from bibo38/bugfix1783
Fixed creation of Fluid-Source-Blocks
This commit is contained in:
commit
241c441de7
@ -108,8 +108,9 @@ void cFloodyFluidSimulator::SimulateBlock(cChunk * a_Chunk, int a_RelX, int a_Re
|
||||
{
|
||||
SpreadXZ(a_Chunk, a_RelX, a_RelY, a_RelZ, NewMeta);
|
||||
}
|
||||
|
||||
// If source creation is on, check for it here:
|
||||
else if (
|
||||
if (
|
||||
(m_NumNeighborsForSource > 0) && // Source creation is on
|
||||
(MyMeta == m_Falloff) && // Only exactly one block away from a source (fast bail-out)
|
||||
!IsPassableForFluid(Below) && // Only exactly 1 block deep
|
||||
|
Loading…
Reference in New Issue
Block a user