summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-05-01 10:46:47 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-05-01 11:54:41 +0200
commit40528db993e6883f7856c8d860ec0385e42e3bad (patch)
treeeb7eeff358727b260e6e8e2730825e6e42e0d6d2
parent9c6c0a0966f79996dfb7b5c7097c7d6c04a8d35c (diff)
downloadopenttd-40528db993e6883f7856c8d860ec0385e42e3bad.tar.xz
Fix #9152, Fix #9153: screenshot command showed error messages when successful
-rw-r--r--src/screenshot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screenshot.cpp b/src/screenshot.cpp
index 06fae707a..dc76996fb 100644
--- a/src/screenshot.cpp
+++ b/src/screenshot.cpp
@@ -957,7 +957,7 @@ bool MakeScreenshot(ScreenshotType t, const char *name, uint32 width, uint32 hei
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);