summaryrefslogtreecommitdiff
path: root/src/ai/api
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2011-04-17 17:34:09 +0000
committerpeter1138 <peter1138@openttd.org>2011-04-17 17:34:09 +0000
commit20800024616dd217e6f1c42e12b2438dcbcaa51d (patch)
tree667e1c88b6f5f7b74435c94e41d1af9b470bb99e /src/ai/api
parent7b4620d66b0a0591de6f89960be47baaef8e0ddf (diff)
downloadopenttd-20800024616dd217e6f1c42e12b2438dcbcaa51d.tar.xz
(svn r22338) -Fix (r22337): Compile-before-commit...
Diffstat (limited to 'src/ai/api')
-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 98fedbf33..1733fd25f 100644
--- a/src/ai/api/ai_vehicle.hpp.sq
+++ b/src/ai/api/ai_vehicle.hpp.sq
@@ -94,7 +94,7 @@ void SQAIVehicle_Register(Squirrel *engine)
AIError::RegisterErrorMap(STR_ERROR_TRAIN_MUST_BE_STOPPED_INSIDE_DEPOT, AIVehicle::ERR_VEHICLE_NOT_IN_DEPOT);
AIError::RegisterErrorMap(STR_ERROR_SHIP_MUST_BE_STOPPED_INSIDE_DEPOT, AIVehicle::ERR_VEHICLE_NOT_IN_DEPOT);
AIError::RegisterErrorMap(STR_ERROR_AIRCRAFT_IS_IN_FLIGHT, AIVehicle::ERR_VEHICLE_IN_FLIGHT);
- AIError::RegisterErrorMap(STR_ERROR_TRAIN_START_NO_CATENARY, AIVehicle::ERR_VEHICLE_NO_POWER);
+ AIError::RegisterErrorMap(STR_ERROR_TRAIN_START_NO_POWER, AIVehicle::ERR_VEHICLE_NO_POWER);
AIError::RegisterErrorMapString(AIVehicle::ERR_VEHICLE_TOO_MANY, "ERR_VEHICLE_TOO_MANY");
AIError::RegisterErrorMapString(AIVehicle::ERR_VEHICLE_NOT_AVAILABLE, "ERR_VEHICLE_NOT_AVAILABLE");