Skip to content

Commit

Permalink
Allow loading bmp files as heightmap using the native file browser
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wolfreak99 authored and Gymnasiast committed May 15, 2017
1 parent 26287f5 commit 471f0c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openrct2/windows/loadsave.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 471f0c3

Please sign in to comment.