diff options
author | smatz <smatz@openttd.org> | 2010-02-24 14:46:15 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2010-02-24 14:46:15 +0000 |
commit | f051066bc451479a0c2ff44e2554941628a62f6a (patch) | |
tree | 239197109c12b15a24e9ae8ab70a7549e34d4a8b /src/settings_gui.cpp | |
parent | c1e2bc90cd3751dfa316519cfe2f558aa2697b2c (diff) | |
download | openttd-f051066bc451479a0c2ff44e2554941628a62f6a.tar.xz |
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r-- | src/settings_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index 0173bfb6d..70dc8a47c 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -331,7 +331,7 @@ struct GameOptionsWindow : Window { case GOW_FULLSCREEN_BUTTON: // Click fullscreen on/off /* try to toggle full-screen on/off */ if (!ToggleFullScreen(!_fullscreen)) { - ShowErrorMessage(STR_ERROR_FULLSCREEN_FAILED, INVALID_STRING_ID, 0, 0); + ShowErrorMessage(STR_ERROR_FULLSCREEN_FAILED, INVALID_STRING_ID, WL_ERROR); } this->SetWidgetLoweredState(GOW_FULLSCREEN_BUTTON, _fullscreen); this->SetDirty(); @@ -660,7 +660,7 @@ public: AI::GetInfoList()->size() == 0 && #endif /* ENABLE_AI */ this->opt_mod_temp.difficulty.max_no_competitors != 0) { - ShowErrorMessage(STR_WARNING_NO_SUITABLE_AI, INVALID_STRING_ID, 0, 0, true); + ShowErrorMessage(STR_WARNING_NO_SUITABLE_AI, INVALID_STRING_ID, WL_CRITICAL); } return; } |