diff options
Diffstat (limited to 'src/ai/api/ai_vehicle.hpp')
-rw-r--r-- | src/ai/api/ai_vehicle.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_vehicle.hpp b/src/ai/api/ai_vehicle.hpp index 4041287a7..049ee8ade 100644 --- a/src/ai/api/ai_vehicle.hpp +++ b/src/ai/api/ai_vehicle.hpp @@ -300,7 +300,7 @@ public: * @param engine_id The engine to use for this vehicle. * @pre The tile at depot has a depot that can build the engine and * is owned by you. - * @pre IsValidEngine(engine_id). + * @pre AIEngine::IsBuildable(engine_id). * @exception AIVehicle::ERR_VEHICLE_TOO_MANY * @exception AIVehicle::ERR_VEHICLE_BUILD_DISABLED * @exception AIVehicle::ERR_VEHICLE_WRONG_DEPOT |