mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 11:23:21 +00:00
(svn r15493) -Fix (r15486): Forgot to update regression.
This commit is contained in:
parent
2b221f5afc
commit
ab288d3bdb
@ -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));
|
||||
|
@ -7011,15 +7011,7 @@
|
||||
33411 => 0
|
||||
|
||||
--Town--
|
||||
GetMaxTownID(): 31
|
||||
GetTownCount(): 28
|
||||
Town -1
|
||||
IsValidTown(): false
|
||||
GetName(): (null : 0x00000000)
|
||||
GetPopulation(): -1
|
||||
GetLocation(): -1
|
||||
GetHouseCount(): -1
|
||||
GetRating(): -1
|
||||
Town 0
|
||||
IsValidTown(): true
|
||||
GetName(): Planfield
|
||||
@ -7216,34 +7208,6 @@
|
||||
GetLocation(): 45525
|
||||
GetHouseCount(): 19
|
||||
GetRating(): 0
|
||||
Town 28
|
||||
IsValidTown(): false
|
||||
GetName(): (null : 0x00000000)
|
||||
GetPopulation(): -1
|
||||
GetLocation(): -1
|
||||
GetHouseCount(): -1
|
||||
GetRating(): -1
|
||||
Town 29
|
||||
IsValidTown(): false
|
||||
GetName(): (null : 0x00000000)
|
||||
GetPopulation(): -1
|
||||
GetLocation(): -1
|
||||
GetHouseCount(): -1
|
||||
GetRating(): -1
|
||||
Town 30
|
||||
IsValidTown(): false
|
||||
GetName(): (null : 0x00000000)
|
||||
GetPopulation(): -1
|
||||
GetLocation(): -1
|
||||
GetHouseCount(): -1
|
||||
GetRating(): -1
|
||||
Town 31
|
||||
IsValidTown(): false
|
||||
GetName(): (null : 0x00000000)
|
||||
GetPopulation(): -1
|
||||
GetLocation(): -1
|
||||
GetHouseCount(): -1
|
||||
GetRating(): -1
|
||||
Valid Towns: 28
|
||||
GetTownCount(): 28
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user