Fix crash when launching game with non-default GUI scale in config

See: #459
This commit is contained in:
Jonathan G Rennison
2022-12-06 18:29:55 +00:00
parent e647075870
commit 351090ae7f
6 changed files with 16 additions and 10 deletions

View File

@@ -941,7 +941,7 @@ int openttd_main(int argc, char *argv[])
_screen.zoom = ZOOM_LVL_NORMAL;
/* The video driver is now selected, now initialise GUI zoom */
AdjustGUIZoom(false);
AdjustGUIZoom(AGZM_STARTUP);
NetworkStartUp(); // initialize network-core