summaryrefslogtreecommitdiff
path: root/src/fios_gui.cpp
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-06 14:54:26 +0100
committerErich Eckner <git@eckner.net>2018-11-16 19:16:08 +0100
commit84bb951c877604b01b1971249fa6fbcf060e47bf (patch)
tree41dfb8403307465d7669ae73cd92909dead53c3b /src/fios_gui.cpp
parent7bd8e6c67f1caac99c9aadca791b7edad63d52e7 (diff)
downloadopenttd-84bb951c877604b01b1971249fa6fbcf060e47bf.tar.xz
WIP: fix loading of old savegamesunderground-save-load
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));