diff options
author | yexo <yexo@openttd.org> | 2010-12-29 12:19:33 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-12-29 12:19:33 +0000 |
commit | 399a9641fe161fd631a26b7faa0ce63fc136219b (patch) | |
tree | 8cfe5ba66f57fc547b1f5ae7426cfe3151df0415 /bin/ai/regression/regression.nut | |
parent | 0d613156e725a2e38e915b7048ab1e9ac5b3cae5 (diff) | |
download | openttd-399a9641fe161fd631a26b7faa0ce63fc136219b.tar.xz |
(svn r21654) -Add: [NoAI] AITown::IsCity() so AIs can find out which towns grow faster than others (Lord Aro)
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 f2e0fe6eb..f861b3a80 100644 --- a/bin/ai/regression/regression.nut +++ b/bin/ai/regression/regression.nut @@ -1477,6 +1477,7 @@ function Regression::Town() print(" GetLocation(): " + AITown.GetLocation(i)); print(" GetHouseCount(): " + AITown.GetHouseCount(i)); print(" GetRating(): " + AITown.GetRating(i, AICompany.COMPANY_SELF)); + print(" IsCity(): " + AITown.IsCity(i)); } print(" Valid Towns: " + j); print(" GetTownCount(): " + AITown.GetTownCount()); |