summaryrefslogtreecommitdiff
path: root/bin/ai/regression/regression.nut
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-04-09 12:02:50 +0000
committeryexo <yexo@openttd.org>2010-04-09 12:02:50 +0000
commita7e31778b3d75f73b740534c6a9d8830104f1a9c (patch)
tree70611cdfc9495ff5a86be36c49ab01444eb4475c /bin/ai/regression/regression.nut
parent737b003c8a1182eaaabb4051ebc57a9cdd9df929 (diff)
downloadopenttd-a7e31778b3d75f73b740534c6a9d8830104f1a9c.tar.xz
(svn r19591) -Add: [NoAI] AIRail::GetMaxSpeed(RailType) to get the speed limit of railtypes
Diffstat (limited to 'bin/ai/regression/regression.nut')
-rw-r--r--bin/ai/regression/regression.nut1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ai/regression/regression.nut b/bin/ai/regression/regression.nut
index eb9b9667f..5f835c528 100644
--- a/bin/ai/regression/regression.nut
+++ b/bin/ai/regression/regression.nut
@@ -1027,6 +1027,7 @@ function Regression::RailTypeList()
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
print(" RailType: " + i);
print(" IsRailTypeAvailable(): " + AIRail.IsRailTypeAvailable(i));
+ print(" GetMaxSpeed(): " + AIRail.GetMaxSpeed(i));
}
}