mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-25 07:29:10 +00:00
(svn r15490) -Change [API CHANGE]: Remove AIBridge::GetYearAvailable. AIBridge::IsValidBridge now only returns true for available bridges.
This commit is contained in:
@@ -252,7 +252,6 @@ function Regression::Bridge()
|
||||
print(" GetPrice(): " + AIBridge.GetPrice(i, 5));
|
||||
print(" GetMaxLength(): " + AIBridge.GetMaxLength(i));
|
||||
print(" GetMinLength(): " + AIBridge.GetMinLength(i));
|
||||
print(" GetYearAvailable(): " + AIBridge.GetYearAvailable(i));
|
||||
}
|
||||
print(" Valid Bridges: " + j);
|
||||
|
||||
@@ -297,11 +296,6 @@ function Regression::BridgeList()
|
||||
for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
|
||||
print(" " + i + " => " + list.GetValue(i));
|
||||
}
|
||||
list.Valuate(AIBridge.GetYearAvailable);
|
||||
print(" YearAvailable ListDump:");
|
||||
for (local i = list.Begin(); list.HasNext(); i = list.Next()) {
|
||||
print(" " + i + " => " + list.GetValue(i));
|
||||
}
|
||||
|
||||
list = AIBridgeList_Length(14);
|
||||
|
||||
|
Reference in New Issue
Block a user