From 471f0c3230abaaa9d8c20959bd520285c826e40e Mon Sep 17 00:00:00 2001 From: wolfreak99 Date: Mon, 15 May 2017 10:02:15 -0400 Subject: [PATCH] Allow loading bmp files as heightmap using the native file browser Upon playing with the heightmap tool, i realized that the feature actually supports bmp files as well, and they are even listed in the in-game load/save dialog, but they are not shown when using a native file browser. This fixes that. --- src/openrct2/windows/loadsave.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/windows/loadsave.c b/src/openrct2/windows/loadsave.c index e664fa1fca..a96152b727 100644 --- a/src/openrct2/windows/loadsave.c +++ b/src/openrct2/windows/loadsave.c @@ -284,7 +284,7 @@ static bool browse(bool isSave, char *path, size_t pathSize) case LOADSAVETYPE_IMAGE: title = STR_FILE_DIALOG_TITLE_LOAD_HEIGHTMAP; desc.filters[0].name = language_get_string(STR_OPENRCT2_HEIGHTMAP_FILE); - desc.filters[0].pattern = "*.jpg;*.png"; + desc.filters[0].pattern = "*.jpg;*.png;*.bmp"; break; }