summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_vehicle.hpp.sq
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-22 22:44:56 +0000
committerrubidium <rubidium@openttd.org>2009-07-22 22:44:56 +0000
commit9980af289835021ef605f9f452d1f289145c6314 (patch)
tree9323d8321200ad88360bed0848859f31ba8143b4 /src/ai/api/ai_vehicle.hpp.sq
parent2962d8f0fc12699e2e952128c8f85b297c79e6b8 (diff)
downloadopenttd-9980af289835021ef605f9f452d1f289145c6314.tar.xz
(svn r16921) -Codechange: make it more clear what strings are related to road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
Diffstat (limited to 'src/ai/api/ai_vehicle.hpp.sq')
-rw-r--r--src/ai/api/ai_vehicle.hpp.sq2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_vehicle.hpp.sq b/src/ai/api/ai_vehicle.hpp.sq
index a3912a01e..2b802e07f 100644
--- a/src/ai/api/ai_vehicle.hpp.sq
+++ b/src/ai/api/ai_vehicle.hpp.sq
@@ -81,7 +81,7 @@ void SQAIVehicle_Register(Squirrel *engine) {
AIError::RegisterErrorMap(STR_CAN_T_REFIT_DESTROYED_VEHICLE, AIVehicle::ERR_VEHICLE_IS_DESTROYED);
AIError::RegisterErrorMap(STR_CAN_T_SELL_DESTROYED_VEHICLE, AIVehicle::ERR_VEHICLE_IS_DESTROYED);
AIError::RegisterErrorMap(STR_ERROR_AIRCRAFT_MUST_BE_STOPPED, AIVehicle::ERR_VEHICLE_NOT_IN_DEPOT);
- AIError::RegisterErrorMap(STR_ERROR_ROAD_MUST_BE_STOPPED_INSIDE_DEPOT, AIVehicle::ERR_VEHICLE_NOT_IN_DEPOT);
+ AIError::RegisterErrorMap(STR_ERROR_ROAD_VEHICLE_MUST_BE_STOPPED_INSIDE_DEPOT, AIVehicle::ERR_VEHICLE_NOT_IN_DEPOT);
AIError::RegisterErrorMap(STR_TRAIN_MUST_BE_STOPPED, AIVehicle::ERR_VEHICLE_NOT_IN_DEPOT);
AIError::RegisterErrorMap(STR_ERROR_SHIP_MUST_BE_STOPPED_IN_DEPOT, AIVehicle::ERR_VEHICLE_NOT_IN_DEPOT);
AIError::RegisterErrorMap(STR_ERROR_AIRCRAFT_IS_IN_FLIGHT, AIVehicle::ERR_VEHICLE_IN_FLIGHT);