summaryrefslogtreecommitdiff
path: root/src/train_cmd.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-05-24 12:50:58 +0000
committerfrosch <frosch@openttd.org>2009-05-24 12:50:58 +0000
commit8109a74c95c0b6882c681ee012c57bf503c7b602 (patch)
treeb0469f41564337b19ec68fc80a0f3f19e8aa3664 /src/train_cmd.cpp
parentbc9c2e43fe439bea31ea2a76c53d7fb16b1aa148 (diff)
downloadopenttd-8109a74c95c0b6882c681ee012c57bf503c7b602.tar.xz
(svn r16414) -Change: Make it harder to ignore/close important error messages. Esp. do not close them automatically after some time.
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 8bbd9010d..e1b7f5f89 100644
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -196,7 +196,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);
+ ShowErrorMessage(INVALID_STRING_ID, STR_BROKEN_VEHICLE_LENGTH, 0, 0, true);
if (!_networking) DoCommandP(0, PM_PAUSED_ERROR, 1, CMD_PAUSE);
}