summaryrefslogtreecommitdiff
path: root/bin/ai/regression/regression.nut
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-12-29 23:20:12 +0000
committeryexo <yexo@openttd.org>2010-12-29 23:20:12 +0000
commit5b25e620dd747d35b024d6d244be9fc7002e38b0 (patch)
tree6b50152523558815c8797d310f271816a6fd2dd0 /bin/ai/regression/regression.nut
parentc986325763e1387b7e7fc358af91c2341a038dbe (diff)
downloadopenttd-5b25e620dd747d35b024d6d244be9fc7002e38b0.tar.xz
(svn r21663) -Add: [NoAI]: AIRail::GetName() to get the name of a railtype
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 f861b3a80..5494c1b7a 100644
--- a/bin/ai/regression/regression.nut
+++ b/bin/ai/regression/regression.nut
@@ -1028,6 +1028,7 @@ function Regression::RailTypeList()
print(" ListDump:");
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
print(" RailType: " + i);
+ print(" GetName(): " + AIRail.GetName(i));
print(" IsRailTypeAvailable(): " + AIRail.IsRailTypeAvailable(i));
print(" GetMaxSpeed(): " + AIRail.GetMaxSpeed(i));
}