forked from mirror/OpenTTD
(svn r23486) -Fix (r22764): 3 for the price of 1: fix up ScriptTile::GetTownAuthority() (tnx to Torrasque for reporting)
This commit is contained in:
@@ -1391,11 +1391,19 @@ function Regression::TileList()
|
||||
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||
print(" " + i + " => " + list.GetValue(i));
|
||||
}
|
||||
|
||||
list.AddRectangle(31895 - 256 * 5, 256 * 5 + 31895 + 8);
|
||||
|
||||
list.Valuate(AITile.GetOwner);
|
||||
print(" GetOwner() ListDump:");
|
||||
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||
print(" " + i + " => " + list.GetValue(i));
|
||||
}
|
||||
list.Valuate(AITile.GetTownAuthority);
|
||||
print(" GetTownAuthority() ListDump:");
|
||||
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||
print(" " + i + " => " + list.GetValue(i));
|
||||
}
|
||||
list.Valuate(AITile.GetClosestTown);
|
||||
print(" GetClosestTown() ListDump:");
|
||||
for (local i = list.Begin(); !list.IsEnd(); i = list.Next()) {
|
||||
|
Reference in New Issue
Block a user