summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan G Rennison <j.g.rennison@gmail.com>2020-11-30 17:47:20 +0000
committerMichael Lutz <michi@icosahedron.de>2020-12-30 00:57:09 +0100
commit15fd63b1b8fabd5320b21c343c658815a2ee574c (patch)
treeec46093a54a2beeeca7f8e53d0c6bb2ba6852b38
parent80a7d0365b56c75bc455dd27582fe0817664f39d (diff)
downloadopenttd-15fd63b1b8fabd5320b21c343c658815a2ee574c.tar.xz
Fix: Assert fail when using restart command after opening save/load GUI
-rw-r--r--src/fios_gui.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fios_gui.cpp b/src/fios_gui.cpp
index a86bb7a22..e1133dd3c 100644
--- a/src/fios_gui.cpp
+++ b/src/fios_gui.cpp
@@ -929,7 +929,5 @@ void ShowSaveLoadDialog(AbstractFileType abstract_filetype, SaveLoadOperation fo
sld = (abstract_filetype == FT_HEIGHTMAP) ? &_load_heightmap_dialog_desc : &_load_dialog_desc;
}
- _file_to_saveload.abstract_ftype = abstract_filetype;
-
new SaveLoadWindow(sld, abstract_filetype, fop);
}