diff options
author | yexo <yexo@openttd.org> | 2010-05-09 15:59:30 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-05-09 15:59:30 +0000 |
commit | 37928e29f7f15680b946a1451fe202601d3ef81f (patch) | |
tree | c90ae0b8d246d65155338ee18043ca14b7d4d885 /bin | |
parent | 96c1fd61735ecc73dea18bd1cdf58c18b3b1a5c8 (diff) | |
download | openttd-37928e29f7f15680b946a1451fe202601d3ef81f.tar.xz |
(svn r19773) -Add: [NoAI] AIIndustry::GetIndustryID(TileIndex)
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ai/regression/regression.nut | 2 | ||||
-rw-r--r-- | bin/ai/regression/regression.txt | 2 |
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 |