summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/ai/regression/regression.nut1
-rw-r--r--bin/ai/regression/regression.txt1
2 files changed, 2 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));
}
}
diff --git a/bin/ai/regression/regression.txt b/bin/ai/regression/regression.txt
index 35d4ed272..611450f46 100644
--- a/bin/ai/regression/regression.txt
+++ b/bin/ai/regression/regression.txt
@@ -7208,6 +7208,7 @@ ERROR: IsEnd() is invalid as Begin() is never called
ListDump:
RailType: 0
IsRailTypeAvailable(): true
+ GetMaxSpeed(): 0
--Road--
Road