diff options
Diffstat (limited to 'src/saveload/afterload.cpp')
-rw-r--r-- | src/saveload/afterload.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index 5b86f4d0b..d231f6912 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -2688,6 +2688,13 @@ bool AfterLoadGame() } } + if (IsSavegameVersionBefore(165)) { + /* Adjust zoom level to account for new levels */ + _saved_scrollpos_zoom = _saved_scrollpos_zoom + ZOOM_LVL_SHIFT; + _saved_scrollpos_x *= ZOOM_LVL_BASE; + _saved_scrollpos_y *= ZOOM_LVL_BASE; + } + /* When any NewGRF has been changed the availability of some vehicles might * have been changed too. e->company_avail must be set to 0 in that case * which is done by StartupEngines(). */ |