summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_tunnel.hpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-02-19 09:01:34 +0000
committeryexo <yexo@openttd.org>2009-02-19 09:01:34 +0000
commit459a855e6074bca02a7aca174ab37778acc9f55d (patch)
tree6aae9b77e5e75e74e7759c8d491e82f67ffbc901 /src/ai/api/ai_tunnel.hpp
parentc0e7ddeb9ee8892103a1314dac25e0d7250e6af4 (diff)
downloadopenttd-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_tunnel.hpp')
-rw-r--r--src/ai/api/ai_tunnel.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/api/ai_tunnel.hpp b/src/ai/api/ai_tunnel.hpp
index 2288f2537..f069c5f49 100644
--- a/src/ai/api/ai_tunnel.hpp
+++ b/src/ai/api/ai_tunnel.hpp
@@ -76,7 +76,7 @@ public:
* @param start Where to start the tunnel.
* @param vehicle_type The vehicle-type of tunnel to build.
* @pre AIMap::IsValidTile(start).
- * @pre vehicle_type == AIVehicle::VEHICLE_ROAD || (vehicle_type == AIVehicle::VEHICLE_RAIL &&
+ * @pre vehicle_type == AIVehicle::VT_ROAD || (vehicle_type == AIVehicle::VT_RAIL &&
* AIRail::IsRailTypeAvailable(AIRail::GetCurrentRailType())).
* @exception AIError::ERR_AREA_NOT_CLEAR
* @exception AITunnel::ERR_TUNNEL_CANNOT_BUILD_ON_WATER