mirror of https://github.com/OpenTTD/OpenTTD
(svn r27256) -Change [FS#6165]: Do not consider cargo that is already being loaded as waiting cargo wrt. the station rating.
parent
2639b84316
commit
046cb6140f
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue