branch | noai |
changeset 9529 | 5f26f4bc574b |
parent 9526 | a4ad60ba03be |
child 9530 | 5b93bc87cc5e |
--- a/src/ai/api/ai_vehicle.hpp Sun Mar 25 15:22:56 2007 +0000 +++ b/src/ai/api/ai_vehicle.hpp Sun Mar 25 16:10:40 2007 +0000 @@ -13,6 +13,11 @@ class AIVehicle : public AIObject { public: /** + * The name of the class, needed by several sub-processes. + */ + static const char *GetClassName() { return "AIVehicle"; } + + /** * Checks whether the given engine type is valid and buildable by you. * @param engine_id the engine to check. * @return true if and only if the engine type is valid.