diff options
-rw-r--r-- | src/lang/english.txt | 2 | ||||
-rw-r--r-- | src/vehicle_cmd.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lang/english.txt b/src/lang/english.txt index ca6d0fae9..b31bfae3b 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -3736,7 +3736,7 @@ STR_ERROR_VEHICLE_IS_DESTROYED :{WHITE}... vehi # Specific vehicle errors STR_ERROR_CAN_T_MAKE_TRAIN_PASS_SIGNAL :{WHITE}Can't make train pass signal at danger... STR_ERROR_CAN_T_REVERSE_DIRECTION_TRAIN :{WHITE}Can't reverse direction of train... -STR_ERROR_TRAIN_START_NO_CATENARY :This track lacks catenary, so the train can't start +STR_ERROR_TRAIN_START_NO_POWER :Train has no power STR_ERROR_CAN_T_MAKE_ROAD_VEHICLE_TURN :{WHITE}Can't make road vehicle turn around... diff --git a/src/vehicle_cmd.cpp b/src/vehicle_cmd.cpp index eb9860d39..ec341163e 100644 --- a/src/vehicle_cmd.cpp +++ b/src/vehicle_cmd.cpp @@ -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: |