diff options
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/api/ai_bridge.hpp | 2 | ||||
-rw-r--r-- | src/ai/api/ai_changelog.hpp | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/ai/api/ai_bridge.hpp b/src/ai/api/ai_bridge.hpp index e9daa27b4..19e6bbed1 100644 --- a/src/ai/api/ai_bridge.hpp +++ b/src/ai/api/ai_bridge.hpp @@ -86,7 +86,7 @@ public: static int32 GetMaxSpeed(BridgeID bridge_id); /** - * Get the new cost of a bridge. + * Get the new cost of a bridge, excluding the road and/or rail. * @param bridge_id The bridge to get the new cost of. * @param length The length of the bridge. * @pre IsValidBridge(bridge_id). diff --git a/src/ai/api/ai_changelog.hpp b/src/ai/api/ai_changelog.hpp index b8943a1da..c748066cd 100644 --- a/src/ai/api/ai_changelog.hpp +++ b/src/ai/api/ai_changelog.hpp @@ -27,8 +27,9 @@ * \li HasNext for all lists. * * Other changes: - * \li AIRoad::BuildRoadStation now allows overbuilding - * \li AIRoad::BuildDriveThroughRoadStation now allows overbuilding + * \li AIBridge::GetPrice now returns the price of the bridge without the cost for the rail or road. + * \li AIRoad::BuildRoadStation now allows overbuilding. + * \li AIRoad::BuildDriveThroughRoadStation now allows overbuilding. * \li AIEngine::GetPower can be used for road vehicles. * \li AIEngine::GetWeight can be used for road vehicles. * \li AIEngine::GetMaxTractiveEffort can be used for road vehicles. |