summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-02-24 14:46:15 +0000
committersmatz <smatz@openttd.org>2010-02-24 14:46:15 +0000
commitf051066bc451479a0c2ff44e2554941628a62f6a (patch)
tree239197109c12b15a24e9ae8ab70a7549e34d4a8b /src/town_cmd.cpp
parentc1e2bc90cd3751dfa316519cfe2f558aa2697b2c (diff)
downloadopenttd-f051066bc451479a0c2ff44e2554941628a62f6a.tar.xz
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r--src/town_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index 6ab50c3ff..637405a65 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -2309,7 +2309,7 @@ void ExpandTown(Town *t)
* but do this only onces per openttd run. */
static bool warned_no_roads = false;
if (!_settings_game.economy.allow_town_roads && !warned_no_roads) {
- ShowErrorMessage(STR_ERROR_TOWN_EXPAND_WARN_NO_ROADS, INVALID_STRING_ID, 0, 0);
+ ShowErrorMessage(STR_ERROR_TOWN_EXPAND_WARN_NO_ROADS, INVALID_STRING_ID, WL_WARNING);
warned_no_roads = true;
}
@@ -2453,7 +2453,7 @@ static void TownActionBribe(Town *t)
/* only show errormessage to the executing player. All errors are handled command.c
* but this is special, because it can only 'fail' on a DC_EXEC */
- if (IsLocalCompany()) ShowErrorMessage(STR_ERROR_BRIBE_FAILED, STR_ERROR_BRIBE_FAILED_2, 0, 0);
+ if (IsLocalCompany()) ShowErrorMessage(STR_ERROR_BRIBE_FAILED, STR_ERROR_BRIBE_FAILED_2, WL_INFO);
/* decrease by a lot!
* ChangeTownRating is only for stuff in demolishing. Bribe failure should