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 | a79524c805ff0f6cc20f8e21c40433f9240a5e9f (patch) | |
tree | 7f887a993593c6a062e6060378109c856ebaa708 /src/ai/api/ai_event_types.hpp | |
parent | 320018aac1ae5b1b4752e331aa6ff80ded00fddc (diff) | |
download | openttd-a79524c805ff0f6cc20f8e21c40433f9240a5e9f.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; |