From 37928e29f7f15680b946a1451fe202601d3ef81f Mon Sep 17 00:00:00 2001 From: yexo Date: Sun, 9 May 2010 15:59:30 +0000 Subject: (svn r19773) -Add: [NoAI] AIIndustry::GetIndustryID(TileIndex) --- bin/ai/regression/regression.nut | 2 ++ bin/ai/regression/regression.txt | 2 ++ 2 files changed, 4 insertions(+) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2