summaryrefslogtreecommitdiff
path: root/src/command.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/command.cpp
parentc1e2bc90cd3751dfa316519cfe2f558aa2697b2c (diff)
downloadopenttd-f051066bc451479a0c2ff44e2554941628a62f6a.tar.xz
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
Diffstat (limited to 'src/command.cpp')
-rw-r--r--src/command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.cpp b/src/command.cpp
index 430f9d2eb..eb992a2d2 100644
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -511,7 +511,7 @@ bool DoCommandP(TileIndex tile, uint32 p1, uint32 p2, uint32 cmd, CommandCallbac
/* Only show the error when it's for us. */
StringID error_part1 = GB(cmd, 16, 16);
if (estimate_only || (IsLocalCompany() && error_part1 != 0 && my_cmd)) {
- ShowErrorMessage(error_part1, _error_message, x, y);
+ ShowErrorMessage(error_part1, _error_message, WL_INFO, x, y);
}
} else if (estimate_only) {
ShowEstimatedCostOrIncome(res.GetCost(), x, y);