summaryrefslogtreecommitdiff
path: root/src/fios_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-06-13 14:13:49 +0000
committerfrosch <frosch@openttd.org>2010-06-13 14:13:49 +0000
commit2d8c2af5e9238f414acca5ccb7aa20c6aebd8898 (patch)
tree24512ead19dec428ae5d980bb9cded70c0b4a508 /src/fios_gui.cpp
parent8d9b573f8f7b6bd9e9f7df2a946d17a6f66082d9 (diff)
downloadopenttd-2d8c2af5e9238f414acca5ccb7aa20c6aebd8898.tar.xz
(svn r19976) -Add: Read mapsize during SL_LOAD_CHECK.
Diffstat (limited to 'src/fios_gui.cpp')
-rw-r--r--src/fios_gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fios_gui.cpp b/src/fios_gui.cpp
index 22c2c0119..97b67438c 100644
--- a/src/fios_gui.cpp
+++ b/src/fios_gui.cpp
@@ -44,6 +44,8 @@ void LoadCheckData::Clear()
this->error = INVALID_STRING_ID;
free(this->error_data);
this->error_data = NULL;
+
+ this->map_size_x = this->map_size_y = 256; // Default for old savegames which do not store mapsize.
}