mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-10 08:00:05 +00:00
(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:
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
Block a user