Removed unneeded newlines
This commit is contained in:
parent
c2d32ce31b
commit
99055f644b
@ -58,7 +58,6 @@ void cFloodyFluidSimulator::SimulateBlock(cChunk * a_Chunk, int a_RelX, int a_Re
|
|||||||
BLOCKTYPE MyBlock; NIBBLETYPE MyMeta;
|
BLOCKTYPE MyBlock; NIBBLETYPE MyMeta;
|
||||||
a_Chunk->GetBlockTypeMeta(a_RelX, a_RelY, a_RelZ, MyBlock, MyMeta);
|
a_Chunk->GetBlockTypeMeta(a_RelX, a_RelY, a_RelZ, MyBlock, MyMeta);
|
||||||
|
|
||||||
|
|
||||||
if (!IsAnyFluidBlock(MyBlock))
|
if (!IsAnyFluidBlock(MyBlock))
|
||||||
{
|
{
|
||||||
// Can happen - if a block is scheduled for simulating and gets replaced in the meantime.
|
// Can happen - if a block is scheduled for simulating and gets replaced in the meantime.
|
||||||
@ -121,12 +120,7 @@ void cFloodyFluidSimulator::SimulateBlock(cChunk * a_Chunk, int a_RelX, int a_Re
|
|||||||
// Also has been re-scheduled for ticking in the next wave, so no marking is needed
|
// Also has been re-scheduled for ticking in the next wave, so no marking is needed
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Mark as processed:
|
// Mark as processed:
|
||||||
a_Chunk->FastSetBlock(a_RelX, a_RelY, a_RelZ, m_StationaryFluidBlock, MyMeta);
|
a_Chunk->FastSetBlock(a_RelX, a_RelY, a_RelZ, m_StationaryFluidBlock, MyMeta);
|
||||||
|
Loading…
Reference in New Issue
Block a user