diff options
author | yexo <yexo@openttd.org> | 2009-02-14 21:13:45 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-02-14 21:13:45 +0000 |
commit | 5a5bc8ab523a27d5d419443a4c19e08778d7974a (patch) | |
tree | 7f887a993593c6a062e6060378109c856ebaa708 /src/ai/api/ai_event_types.hpp | |
parent | 8ceb92e6998cdcf0b7821a9c18ec8d216b1a06fa (diff) | |
download | openttd-5a5bc8ab523a27d5d419443a4c19e08778d7974a.tar.xz |
(svn r15487) -Change [API CHANGE]: Remove the never implemented function AIEventVehicleCrashed::CloneCrashedVehicle.
Diffstat (limited to 'src/ai/api/ai_event_types.hpp')
-rw-r--r-- | src/ai/api/ai_event_types.hpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/ai/api/ai_event_types.hpp b/src/ai/api/ai_event_types.hpp index ce5cf0a14..2e6c526b4 100644 --- a/src/ai/api/ai_event_types.hpp +++ b/src/ai/api/ai_event_types.hpp @@ -14,10 +14,7 @@ /** * Event Vehicle Crash, indicating a vehicle of yours is crashed. - * It contains both the crash site as the vehicle crashed. It has a nice - * helper that creates a new vehicle in a depot with the same type - * and orders as the crashed one. In case the vehicle type isn't available - * anymore, it will find the next best. + * It contains the crash site, the crashed vehicle and the reason for the crash. */ class AIEventVehicleCrashed : public AIEvent { public: @@ -71,14 +68,6 @@ public: */ CrashReason GetCrashReason() { return crash_reason; } - /** - * Clone the crashed vehicle and send it on its way again. - * @param depot the depot to build the vehicle in. - * @return True when the cloning succeeded. - * @note This function isn't implemented yet. - */ - bool CloneCrashedVehicle(TileIndex depot); - private: TileIndex crash_site; VehicleID vehicle; |