(svn r22337) -Fix: Overly specific error message

This commit is contained in:
2011-04-17 17:28:33 +00:00
parent f4649c7ce7
commit 7b4620d66b
2 changed files with 2 additions and 2 deletions

View File

@@ -416,7 +416,7 @@ CommandCost CmdStartStopVehicle(TileIndex tile, DoCommandFlag flags, uint32 p1,
switch (v->type) {
case VEH_TRAIN:
if ((v->vehstatus & VS_STOPPED) && Train::From(v)->gcache.cached_power == 0) return_cmd_error(STR_ERROR_TRAIN_START_NO_CATENARY);
if ((v->vehstatus & VS_STOPPED) && Train::From(v)->gcache.cached_power == 0) return_cmd_error(STR_ERROR_TRAIN_START_NO_POWER);
break;
case VEH_SHIP: