summaryrefslogtreecommitdiff
path: root/bin/ai/regression
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-05-09 15:59:30 +0000
committeryexo <yexo@openttd.org>2010-05-09 15:59:30 +0000
commit37928e29f7f15680b946a1451fe202601d3ef81f (patch)
treec90ae0b8d246d65155338ee18043ca14b7d4d885 /bin/ai/regression
parent96c1fd61735ecc73dea18bd1cdf58c18b3b1a5c8 (diff)
downloadopenttd-37928e29f7f15680b946a1451fe202601d3ef81f.tar.xz
(svn r19773) -Add: [NoAI] AIIndustry::GetIndustryID(TileIndex)
Diffstat (limited to 'bin/ai/regression')
-rw-r--r--bin/ai/regression/regression.nut2
-rw-r--r--bin/ai/regression/regression.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/bin/ai/regression/regression.nut b/bin/ai/regression/regression.nut
index 8891ca090..7dc35e1de 100644
--- a/bin/ai/regression/regression.nut
+++ b/bin/ai/regression/regression.nut
@@ -605,6 +605,8 @@ function Regression::Industry()
}
print(" Valid Industries: " + j);
print(" GetIndustryCount(): " + AIIndustry.GetIndustryCount());
+ print(" GetIndustryID(): " + AIIndustry.GetIndustryID(19694));
+ print(" GetIndustryID(): " + AIIndustry.GetIndustryID(19695));
}
function Regression::IndustryList()
diff --git a/bin/ai/regression/regression.txt b/bin/ai/regression/regression.txt
index 9aeb8705e..4542a621a 100644
--- a/bin/ai/regression/regression.txt
+++ b/bin/ai/regression/regression.txt
@@ -6548,6 +6548,8 @@ ERROR: IsEnd() is invalid as Begin() is never called
GetStockpiledCargo(): 0
Valid Industries: 71
GetIndustryCount(): 71
+ GetIndustryID(): 65535
+ GetIndustryID(): 0
--IndustryList--
Count(): 71