summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-08-02 20:14:23 +0000
committerbjarni <bjarni@openttd.org>2005-08-02 20:14:23 +0000
commit017b72d98ac3206982a692954a13c07cf117562e (patch)
treef79645893764999ec6c2e31e08b0f75e4d6875d1
parent124b352862a44f629241dbf0794efd18faefabbe (diff)
downloadopenttd-017b72d98ac3206982a692954a13c07cf117562e.tar.xz
(svn r2795) -Fix: [Clone vehilcle] all error messages should now tell the right vehicle type (chrishuebsch)
-rw-r--r--aircraft_gui.c2
-rw-r--r--roadveh_gui.c2
-rw-r--r--ship_gui.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c
index 41bef1c32..71a30e91a 100644
--- a/aircraft_gui.c
+++ b/aircraft_gui.c
@@ -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();
diff --git a/roadveh_gui.c b/roadveh_gui.c
index 378f4e7a8..8ba398472 100644
--- a/roadveh_gui.c
+++ b/roadveh_gui.c
@@ -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();
diff --git a/ship_gui.c b/ship_gui.c
index ecd44cb13..ae7c22906 100644
--- a/ship_gui.c
+++ b/ship_gui.c
@@ -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();