summaryrefslogtreecommitdiff
path: root/src/fios_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fios_gui.cpp')
-rw-r--r--src/fios_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fios_gui.cpp b/src/fios_gui.cpp
index 9aa5277ac..161b162f2 100644
--- a/src/fios_gui.cpp
+++ b/src/fios_gui.cpp
@@ -53,6 +53,7 @@ void LoadCheckData::Clear()
this->error_data = NULL;
this->map_size_x = this->map_size_y = 256; // Default for old savegames which do not store mapsize.
+ this->layer_count = 1; // Default for old savegames which do not have multiple layers.
this->current_date = 0;
memset(&this->settings, 0, sizeof(this->settings));