From f6e4c5d9cf459e8278a76a2beaee59732e841458 Mon Sep 17 00:00:00 2001 From: ngosang Date: Mon, 26 Jan 2015 12:44:49 +0100 Subject: Respect game mapgen flags and save world noise params --- src/mapgen_singlenode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mapgen_singlenode.h') diff --git a/src/mapgen_singlenode.h b/src/mapgen_singlenode.h index 9fd1d75b3..35f2ba385 100644 --- a/src/mapgen_singlenode.h +++ b/src/mapgen_singlenode.h @@ -27,8 +27,8 @@ struct MapgenSinglenodeParams : public MapgenSpecificParams { MapgenSinglenodeParams() {} ~MapgenSinglenodeParams() {} - void readParams(Settings *settings); - void writeParams(Settings *settings); + void readParams(const Settings *settings) {} + void writeParams(Settings *settings) const {} }; class MapgenSinglenode : public Mapgen { -- cgit v1.2.3