From c3ad08708f201fce0118f13022371cac1c2c8b41 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Wed, 12 Nov 2014 23:58:50 -0500 Subject: Mapgen v7: Fix uninitialized spflags Mapgen v5: Fix minor style issue --- src/mapgen_v7.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mapgen_v7.cpp') diff --git a/src/mapgen_v7.cpp b/src/mapgen_v7.cpp index 8961d8431..39f0984a1 100644 --- a/src/mapgen_v7.cpp +++ b/src/mapgen_v7.cpp @@ -72,6 +72,7 @@ MapgenV7::MapgenV7(int mapgenid, MapgenParams *params, EmergeManager *emerge) { this->ridge_heightmap = new s16[csize.X * csize.Z]; MapgenV7Params *sp = (MapgenV7Params *)params->sparams; + this->spflags = sp->spflags; //// Terrain noise noise_terrain_base = new Noise(&sp->np_terrain_base, seed, csize.X, csize.Z); -- cgit v1.2.3