Changeset - r17563:64a93f46d21d
[Not reviewed]
master
0 2 0
peter1138 - 13 years ago 2011-04-17 17:28:33
peter1138@openttd.org
(svn r22337) -Fix: Overly specific error message
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/lang/english.txt
Show inline comments
 
@@ -3736,7 +3736,7 @@ STR_ERROR_VEHICLE_IS_DESTROYED          
 
# 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...
 

	
src/vehicle_cmd.cpp
Show inline comments
 
@@ -416,7 +416,7 @@ CommandCost CmdStartStopVehicle(TileInde
 

	
 
	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:
0 comments (0 inline, 0 general)