Mercurial > hg > openttd
diff src/train_cmd.cpp @ 14645:b7a22979b84e draft
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
author | smatz <smatz@openttd.org> |
---|---|
date | Wed, 24 Feb 2010 14:46:15 +0000 (2010-02-24) |
parents | 45f055caa455 |
children | 68f4a5f222ef |
line wrap: on
line diff
--- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -186,7 +186,7 @@ (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); }