Mercurial > hg > openttd
diff src/train_cmd.cpp @ 15852:ca2ecbcbbb22 draft
(svn r20534) -Codechange: unify the naming of the 'vehicle must be stopped in depot' strings
author | yexo <yexo@openttd.org> |
---|---|
date | Wed, 18 Aug 2010 00:30:12 +0000 (2010-08-18) |
parents | efc03d77eb93 |
children | 43d172eac154 |
line wrap: on
line diff
--- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -1911,7 +1911,7 @@ CommandCost ret = CheckOwnership(v->owner); if (ret.Failed()) return ret; - if (!v->IsStoppedInDepot()) return_cmd_error(STR_TRAIN_MUST_BE_STOPPED); + if (!v->IsStoppedInDepot()) return_cmd_error(STR_ERROR_TRAIN_MUST_BE_STOPPED_INSIDE_DEPOT); if (v->vehstatus & VS_CRASHED) return_cmd_error(STR_ERROR_VEHICLE_IS_DESTROYED); /* Check cargo */