(svn r2795) -Fix: [Clone vehilcle] all error messages should now tell the right vehicle type (chrishuebsch)

This commit is contained in:
bjarni 2005-08-02 20:14:23 +00:00
parent 4eb0158629
commit 2412ad5a20
3 changed files with 3 additions and 3 deletions

View File

@ -783,7 +783,7 @@ static bool HandleCloneVehClick(Vehicle *v, Window *w)
} }
DoCommandP(w->window_number, v->index, _ctrl_pressed ? 1 : 0,CcCloneAircraft,CMD_CLONE_VEHICLE | CMD_MSG(STR_882B_CAN_T_BUILD_RAILROAD_VEHICLE)); DoCommandP(w->window_number, v->index, _ctrl_pressed ? 1 : 0,CcCloneAircraft,CMD_CLONE_VEHICLE | CMD_MSG(STR_A008_CAN_T_BUILD_AIRCRAFT));
ResetObjectToPlace(); ResetObjectToPlace();

View File

@ -680,7 +680,7 @@ static bool HandleCloneVehClick(Vehicle *v, Window *w)
} }
DoCommandP(w->window_number, v->index, _ctrl_pressed ? 1 : 0,CcCloneRoadVeh,CMD_CLONE_VEHICLE | CMD_MSG(STR_882B_CAN_T_BUILD_RAILROAD_VEHICLE)); DoCommandP(w->window_number, v->index, _ctrl_pressed ? 1 : 0,CcCloneRoadVeh,CMD_CLONE_VEHICLE | CMD_MSG(STR_9009_CAN_T_BUILD_ROAD_VEHICLE));
ResetObjectToPlace(); ResetObjectToPlace();

View File

@ -759,7 +759,7 @@ static bool HandleCloneVehClick(Vehicle *v, Window *w)
} }
DoCommandP(w->window_number, v->index, _ctrl_pressed ? 1 : 0,CcCloneShip,CMD_CLONE_VEHICLE | CMD_MSG(STR_882B_CAN_T_BUILD_RAILROAD_VEHICLE)); DoCommandP(w->window_number, v->index, _ctrl_pressed ? 1 : 0,CcCloneShip,CMD_CLONE_VEHICLE | CMD_MSG(STR_980D_CAN_T_BUILD_SHIP));
ResetObjectToPlace(); ResetObjectToPlace();