From 71cfe112f19453ea766499d37c0debdb7d8d5415 Mon Sep 17 00:00:00 2001 From: Jeroen D Stout Date: Tue, 3 Oct 2017 23:26:41 +0200 Subject: [PATCH] Make map generation automatically import expanded pngs --- src/openrct2/world/mapgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/world/mapgen.c b/src/openrct2/world/mapgen.c index 49639adf34..46fe7de384 100644 --- a/src/openrct2/world/mapgen.c +++ b/src/openrct2/world/mapgen.c @@ -790,7 +790,7 @@ bool mapgen_load_heightmap(const utf8 *path) uint32 width, height; if (strcicmp(extension, ".png") == 0) { - if (!image_io_png_read(&pixels, &width, &height, path)) { + if (!image_io_png_read(&pixels, &width, &height, true, path)) { log_warning("Error reading PNG"); context_show_error(STR_HEIGHT_MAP_ERROR, STR_ERROR_READING_PNG); return false;