(svn r27256) -Change [FS#6165]: Do not consider cargo that is already being loaded as waiting cargo wrt. the station rating.

This commit is contained in:
frosch 2015-04-26 11:43:58 +00:00
parent 2639b84316
commit 046cb6140f

View File

@ -3278,7 +3278,7 @@ static void UpdateStationRating(Station *st)
bool skip = false;
int rating = 0;
uint waiting = ge->cargo.TotalCount();
uint waiting = ge->cargo.AvailableCount();
/* num_dests is at least 1 if there is any cargo as
* INVALID_STATION is also a destination.