summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r--src/depot_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp
index 48a9fd8ce..14dea3296 100644
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -564,10 +564,10 @@ struct DepotWindow : Window {
}
switch (v->type) {
- case VEH_TRAIN: error_str = STR_ERROR_CAN_T_BUILD_RAILROAD_VEHICLE; break;
- case VEH_ROAD: error_str = STR_ERROR_CAN_T_BUILD_ROAD_VEHICLE; break;
- case VEH_SHIP: error_str = STR_ERROR_CAN_T_BUILD_SHIP; break;
- case VEH_AIRCRAFT: error_str = STR_ERROR_CAN_T_BUILD_AIRCRAFT; break;
+ case VEH_TRAIN: error_str = STR_ERROR_CAN_T_BUILD_TRAIN; break;
+ case VEH_ROAD: error_str = STR_ERROR_CAN_T_BUILD_ROAD_VEHICLE; break;
+ case VEH_SHIP: error_str = STR_ERROR_CAN_T_BUILD_SHIP; break;
+ case VEH_AIRCRAFT: error_str = STR_ERROR_CAN_T_BUILD_AIRCRAFT; break;
default: return;
}