diff options
author | yexo <yexo@openttd.org> | 2009-02-19 09:01:34 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-02-19 09:01:34 +0000 |
commit | 459a855e6074bca02a7aca174ab37778acc9f55d (patch) | |
tree | 6aae9b77e5e75e74e7759c8d491e82f67ffbc901 /src/ai/api/ai_bridge.hpp | |
parent | c0e7ddeb9ee8892103a1314dac25e0d7250e6af4 (diff) | |
download | openttd-459a855e6074bca02a7aca174ab37778acc9f55d.tar.xz |
(svn r15520) -Cleanup [NoAI]: Fix some typos, unify the comment style and update some documentation since a few enums have been renamed.
Diffstat (limited to 'src/ai/api/ai_bridge.hpp')
-rw-r--r-- | src/ai/api/ai_bridge.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/api/ai_bridge.hpp b/src/ai/api/ai_bridge.hpp index befb7a02a..f53ee2339 100644 --- a/src/ai/api/ai_bridge.hpp +++ b/src/ai/api/ai_bridge.hpp @@ -121,8 +121,8 @@ public: * @pre 'start' and 'end' are in a straight line, i.e. * AIMap::GetTileX(start) == AIMap::GetTileX(end) or * AIMap::GetTileY(start) == AIMap::GetTileY(end). - * @pre vehicle_type == AIVehicle::VEHICLE_ROAD || (vehicle_type == AIVehicle::VEHICLE_RAIL && - * AIRail::IsRailTypeAvailable(AIRail::GetCurrentRailType())) || vehicle_type == AIVehicle::VEHICLE_WATER. + * @pre vehicle_type == AIVehicle::VT_ROAD || vehicle_type == AIVehicle::VT_WATER || + * (vehicle_type == AIVehicle::VT_RAIL && AIRail::IsRailTypeAvailable(AIRail::GetCurrentRailType())). * @exception AIError::ERR_ALREADY_BUILT * @exception AIError::ERR_AREA_NOT_CLEAR * @exception AIError::ERR_LAND_SLOPED_WRONG |