mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
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.
This commit is contained in:
committed by
Michael Steenbeek
parent
26287f5a3e
commit
471f0c3230
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user