Mgvalleys: Fix missing decorations and incorrect function order
authorparamat <mat.gregory@virginmedia.com>
Mon, 30 Jan 2017 18:06:17 +0000 (18:06 +0000)
committerparamat <mat.gregory@virginmedia.com>
Wed, 1 Feb 2017 15:05:35 +0000 (15:05 +0000)
commit326cc5df741120dcfdfef21a7acaef5322601764
treee477aeee5d8819e605028355c128e150ccb6c845
parentd873545ac70331a224967493f9296a854d292dd8
Mgvalleys: Fix missing decorations and incorrect function order

Fix missing decorations at horizontal chunk borders by adding
'updateHeightmap()' after terrain generation.

Swap order of 'calculateNoise' and 'calcBiomeNoise' because
'calculateNoise' modifies the heat and humidity maps created in
'calcBiomeNoise'.

Remove confusing comment, code block is not just for mods and
seems essential for correct mapgen behaviour.
src/mapgen_valleys.cpp