From b5fa96f4f8c6bba3a22f55f715bc246bf48d3438 Mon Sep 17 00:00:00 2001 From: peterbell10 Date: Mon, 18 Sep 2017 08:45:32 +0100 Subject: cFinishGenPreSimulator: Preserve sand meta (#4025) Fixes #1516. --- src/Generating/FinishGen.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/Generating/FinishGen.h') diff --git a/src/Generating/FinishGen.h b/src/Generating/FinishGen.h index 30108b6da..0138c84bc 100644 --- a/src/Generating/FinishGen.h +++ b/src/Generating/FinishGen.h @@ -393,10 +393,7 @@ protected: bool m_PreSimulateLava; /** Drops hanging sand and gravel down to the ground, recalculates heightmap */ - void CollapseSandGravel( - cChunkDef::BlockTypes & a_BlockTypes, // Block types to read and change - cChunkDef::HeightMap & a_HeightMap // Height map to update by the current data - ); + void CollapseSandGravel(cChunkDesc & a_ChunkDesc); /** For each fluid block: - if all surroundings are of the same fluid, makes it stationary; otherwise makes it flowing (excl. top) -- cgit v1.2.3