From 2e53801fc0d9ba13afec6c1ddb5e3999f68b96bd Mon Sep 17 00:00:00 2001 From: Paramat Date: Fri, 30 Jun 2017 14:32:35 +0100 Subject: Mapgen: Remove unnecessary 'this->' from constructors (#6069) --- src/mapgen_flat.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/mapgen_flat.cpp') diff --git a/src/mapgen_flat.cpp b/src/mapgen_flat.cpp index e7f5f4dfe..95fb35412 100644 --- a/src/mapgen_flat.cpp +++ b/src/mapgen_flat.cpp @@ -51,15 +51,15 @@ FlagDesc flagdesc_mapgen_flat[] = { MapgenFlat::MapgenFlat(int mapgenid, MapgenFlatParams *params, EmergeManager *emerge) : MapgenBasic(mapgenid, params, emerge) { - this->spflags = params->spflags; - this->ground_level = params->ground_level; - this->large_cave_depth = params->large_cave_depth; - this->lava_depth = params->lava_depth; - this->cave_width = params->cave_width; - this->lake_threshold = params->lake_threshold; - this->lake_steepness = params->lake_steepness; - this->hill_threshold = params->hill_threshold; - this->hill_steepness = params->hill_steepness; + spflags = params->spflags; + ground_level = params->ground_level; + large_cave_depth = params->large_cave_depth; + lava_depth = params->lava_depth; + cave_width = params->cave_width; + lake_threshold = params->lake_threshold; + lake_steepness = params->lake_steepness; + hill_threshold = params->hill_threshold; + hill_steepness = params->hill_steepness; // 2D noise noise_filler_depth = new Noise(¶ms->np_filler_depth, seed, csize.X, csize.Z); -- cgit v1.2.3