From 7a3d549f2f2b372fd97fce6795a49b7c49823548 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 6 Apr 2013 12:36:33 +0000 Subject: (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 --- bin/ai/regression/regression.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ai') 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 -- cgit v1.2.3-70-g09d2