From f051066bc451479a0c2ff44e2554941628a62f6a Mon Sep 17 00:00:00 2001 From: smatz Date: Wed, 24 Feb 2010 14:46:15 +0000 Subject: (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit --- src/train_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/train_cmd.cpp') diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 0f2ae36b2..976fe6467 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -186,7 +186,7 @@ void CheckTrainsLengths() (w->track == TRACK_BIT_DEPOT && TicksToLeaveDepot(u) <= 0)) { SetDParam(0, v->index); SetDParam(1, v->owner); - ShowErrorMessage(STR_BROKEN_VEHICLE_LENGTH, INVALID_STRING_ID, 0, 0, true); + ShowErrorMessage(STR_BROKEN_VEHICLE_LENGTH, INVALID_STRING_ID, WL_CRITICAL); if (!_networking) DoCommandP(0, PM_PAUSED_ERROR, 1, CMD_PAUSE); } -- cgit v1.2.3-54-g00ecf