(svn r15493) -Fix (r15486): Forgot to update regression.

This commit is contained in:
yexo
2009-02-14 21:57:25 +00:00
parent 2b221f5afc
commit ab288d3bdb
2 changed files with 3 additions and 38 deletions

View File

@@ -1306,9 +1306,10 @@ function Regression::Town()
print("");
print("--Town--");
print(" GetMaxTownID(): " + AITown.GetMaxTownID());
print(" GetTownCount(): " + AITown.GetTownCount());
for (local i = -1; i < AITown.GetMaxTownID() + 1; i++) {
local list = AITownList();
list.Sort(AIAbstractList.SORT_BY_ITEM, true);
for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
if (AITown.IsValidTown(i)) j++;
print(" Town " + i);
print(" IsValidTown(): " + AITown.IsValidTown(i));