(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:
@@ -3278,7 +3278,7 @@ static void UpdateStationRating(Station *st)
|
|||||||
|
|
||||||
bool skip = false;
|
bool skip = false;
|
||||||
int rating = 0;
|
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
|
/* num_dests is at least 1 if there is any cargo as
|
||||||
* INVALID_STATION is also a destination.
|
* INVALID_STATION is also a destination.
|
||||||
|
Reference in New Issue
Block a user