mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-26 00:04:43 +01:00
Apply some refactoring
This commit is contained in:
committed by
Michael Steenbeek
parent
386a399a51
commit
06afeeda9a
@@ -217,7 +217,7 @@ rct_window *window_loadsave_open(sint32 type, const char *defaultName)
|
||||
}
|
||||
break;
|
||||
case LOADSAVETYPE_IMAGE:
|
||||
openrct2_assert(isSave == false, "Cannot save images through loadsave window");
|
||||
openrct2_assert(!isSave, "Cannot save images through loadsave window");
|
||||
w->widgets[WIDX_TITLE].text = STR_FILE_DIALOG_TITLE_LOAD_HEIGHTMAP;
|
||||
if (window_loadsave_get_dir(gConfigGeneral.last_save_track_directory, path, "", sizeof(path))) {
|
||||
window_loadsave_populate_list(w, false, path, ".bmp;.png");
|
||||
|
||||
Reference in New Issue
Block a user