summaryrefslogtreecommitdiff
path: root/src/train_cmd.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-10-31 19:46:51 +0000
committeralberth <alberth@openttd.org>2009-10-31 19:46:51 +0000
commit44aacfc59f06106acc492dda7b514db5c7f082ca (patch)
treec1502b47e5712f3dbe7b0542e88312bec676751e /src/train_cmd.cpp
parent4ce1f5f0a0af73f618a1116b9e4cc25035caead5 (diff)
downloadopenttd-44aacfc59f06106acc492dda7b514db5c7f082ca.tar.xz
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r--src/train_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp
index 2cb2541c0..1dd977353 100644
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -198,7 +198,7 @@ void CheckTrainsLengths()
(w->track == TRACK_BIT_DEPOT && TicksToLeaveDepot(u) <= 0)) {
SetDParam(0, v->index);
SetDParam(1, v->owner);
- ShowErrorMessage(INVALID_STRING_ID, STR_BROKEN_VEHICLE_LENGTH, 0, 0, true);
+ ShowErrorMessage(STR_BROKEN_VEHICLE_LENGTH, INVALID_STRING_ID, 0, 0, true);
if (!_networking) DoCommandP(0, PM_PAUSED_ERROR, 1, CMD_PAUSE);
}