diff options
Diffstat (limited to 'src/mapgen_v7.cpp')
-rw-r--r-- | src/mapgen_v7.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapgen_v7.cpp b/src/mapgen_v7.cpp index 923f85a0f..4b5a10ca1 100644 --- a/src/mapgen_v7.cpp +++ b/src/mapgen_v7.cpp @@ -144,7 +144,7 @@ MapgenV7Params::MapgenV7Params() } -void MapgenV7Params::readParams(Settings *settings) +void MapgenV7Params::readParams(const Settings *settings) { settings->getFlagStrNoEx("mgv7_spflags", spflags, flagdesc_mapgen_v7); @@ -162,7 +162,7 @@ void MapgenV7Params::readParams(Settings *settings) } -void MapgenV7Params::writeParams(Settings *settings) +void MapgenV7Params::writeParams(Settings *settings) const { settings->setFlagStr("mgv7_spflags", spflags, flagdesc_mapgen_v7, (u32)-1); |