Codechange: Turn bit-stuffed FiosType enum into a struct. (#14019)

This commit is contained in:
frosch
2025-04-18 15:20:55 +02:00
committed by GitHub
parent b862d4937f
commit 26db4ccf09
13 changed files with 59 additions and 105 deletions

View File

@@ -1543,7 +1543,7 @@ bool GenerateLandscape(uint8_t mode)
if (mode == GWM_HEIGHTMAP) {
SetGeneratingWorldProgress(GWP_LANDSCAPE, steps + GLS_HEIGHTMAP);
if (!LoadHeightmap(_file_to_saveload.detail_ftype, _file_to_saveload.name.c_str())) {
if (!LoadHeightmap(_file_to_saveload.ftype.detailed, _file_to_saveload.name.c_str())) {
return false;
}
IncreaseGeneratingWorldProgress(GWP_LANDSCAPE);