diff options
author | frosch <frosch@openttd.org> | 2009-03-26 19:45:45 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-03-26 19:45:45 +0000 |
commit | 44351cdc57f470e7fc1213e4b0b2f6b1f42e71ac (patch) | |
tree | 6d5983772ba02edc87bbe4128a094205c7955ba1 /bin/ai/regression/regression.nut | |
parent | 19b47c1e89ea7923fa0059075aee6ce5d60be48a (diff) | |
download | openttd-44351cdc57f470e7fc1213e4b0b2f6b1f42e71ac.tar.xz |
(svn r15860) -Add: AIRoad::GetRoadVehicleTypeForCargo() to tell whether a certain cargo needs a bus- or a truckstop.
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 4a2e8433f..152ab6d51 100644 --- a/bin/ai/regression/regression.nut +++ b/bin/ai/regression/regression.nut @@ -329,6 +329,7 @@ function Regression::Cargo() print(" GetCargoIncome(10, 10): " + AICargo.GetCargoIncome(i, 10, 10)); print(" GetCargoIncome(100, 10): " + AICargo.GetCargoIncome(i, 100, 10)); print(" GetCargoIncome(10, 100): " + AICargo.GetCargoIncome(i, 10, 100)); + print(" GetRoadVehicleTypeForCargo(): " + AIRoad.GetRoadVehicleTypeForCargo(i)); } } |