diff -r b2cc6f31363c -r 5f26f4bc574b src/ai/api/ai_road.hpp --- a/src/ai/api/ai_road.hpp Sun Mar 25 15:22:56 2007 +0000 +++ b/src/ai/api/ai_road.hpp Sun Mar 25 16:10:40 2007 +0000 @@ -23,6 +23,11 @@ class AIRoad : public AIObject { public: /** + * The name of the class, needed by several sub-processes. + */ + static const char *GetClassName() { return "AIRoad"; } + + /** * Checks whether the given tile is actually a tile with road. * @param tile the tile to check. * @pre tile is always positive and smaller than AIMap::GetMapSize().