diff options
author | yexo <yexo@openttd.org> | 2009-02-14 21:17:35 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-02-14 21:17:35 +0000 |
commit | 7d88077addf412c3d2c392c4b16d6adaec0d006e (patch) | |
tree | 05b9b751f604a46d2d479768bb5f35bfd5ca3446 /src/ai/api/ai_bridge.hpp | |
parent | 16954ba37806a4510e626d5ceb29f8114c275a3d (diff) | |
download | openttd-7d88077addf412c3d2c392c4b16d6adaec0d006e.tar.xz |
(svn r15490) -Change [API CHANGE]: Remove AIBridge::GetYearAvailable. AIBridge::IsValidBridge now only returns true for available bridges.
Diffstat (limited to 'src/ai/api/ai_bridge.hpp')
-rw-r--r-- | src/ai/api/ai_bridge.hpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ai/api/ai_bridge.hpp b/src/ai/api/ai_bridge.hpp index a4bac67f7..befb7a02a 100644 --- a/src/ai/api/ai_bridge.hpp +++ b/src/ai/api/ai_bridge.hpp @@ -95,15 +95,6 @@ public: */ static int32 GetMinLength(BridgeID bridge_id); - /** - * Get the year in which a bridge becomes available. - * @param bridge_id The bridge to get the year of availability of. - * @pre IsValidBridge(bridge_id). - * @returns The year of availability the bridge has. - * @note Years are like 2010, -10 (10 B.C.), 1950, .. - */ - static int32 GetYearAvailable(BridgeID bridge_id); - #ifndef DOXYGEN_SKIP /** * Internal function to help BuildBridge in case of road. |