Changeset - r25339:28c15705f6a3
[Not reviewed]
master
0 1 0
rubidium42 - 3 years ago 2021-05-01 08:46:47
rubidium@openttd.org
Fix #9152, Fix #9153: screenshot command showed error messages when successful
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/screenshot.cpp
Show inline comments
 
@@ -957,7 +957,7 @@ bool MakeScreenshot(ScreenshotType t, co
 
		if (t == SC_HEIGHTMAP) {
 
			SetDParamStr(0, _screenshot_name);
 
			SetDParam(1, _heightmap_highest_peak);
 
			ShowErrorMessage(STR_MESSAGE_HEIGHTMAP_SUCCESSFULLY, INVALID_STRING_ID, WL_CRITICAL);
 
			ShowErrorMessage(STR_MESSAGE_HEIGHTMAP_SUCCESSFULLY, INVALID_STRING_ID, WL_WARNING);
 
		} else {
 
			SetDParamStr(0, _screenshot_name);
 
			ShowErrorMessage(STR_MESSAGE_SCREENSHOT_SUCCESSFULLY, INVALID_STRING_ID, WL_WARNING);
0 comments (0 inline, 0 general)