diff options
author | rubidium <rubidium@openttd.org> | 2013-04-06 12:36:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-04-06 12:36:33 +0000 |
commit | 7a3d549f2f2b372fd97fce6795a49b7c49823548 (patch) | |
tree | 4201a25b4a42fa803bda5b12a94d8b64dce6ce77 /bin | |
parent | b2292122b660372f253a8e0813e24366cbd049dc (diff) | |
download | openttd-7a3d549f2f2b372fd97fce6795a49b7c49823548.tar.xz |
(svn r25150) -Fix [FS#5514]: [Script] The was no way to differentiate between a cargo-station combination with or without rating, so introduce [AI|GS]Station::HasRating and let GetRating return -1 when there is no rating
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ai/regression/regression.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ai/regression/regression.txt b/bin/ai/regression/regression.txt index 8fa6a8b27..9ca055ea5 100644 --- a/bin/ai/regression/regression.txt +++ b/bin/ai/regression/regression.txt @@ -9118,8 +9118,8 @@ ERROR: IsEnd() is invalid as Begin() is never called 5 => 0 4 => 0 CargoRating(1) ListDump: - 5 => 69 - 4 => 69 + 5 => -1 + 4 => -1 DistanceManhattanToTile(30000) ListDump: 5 => 106 4 => 96 |