diff options
author | yexo <yexo@openttd.org> | 2010-12-29 23:20:12 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-12-29 23:20:12 +0000 |
commit | 5b25e620dd747d35b024d6d244be9fc7002e38b0 (patch) | |
tree | 6b50152523558815c8797d310f271816a6fd2dd0 /bin/ai/regression/regression.nut | |
parent | c986325763e1387b7e7fc358af91c2341a038dbe (diff) | |
download | openttd-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.nut | 1 |
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)); } |