mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r19540) -Feature: Sort the ratings of a station by cargo class / name.
This commit is contained in:
parent
8660890bbb
commit
fdc146b3c1
@ -1128,7 +1128,7 @@ struct StationViewWindow : public Window {
|
||||
y += FONT_HEIGHT_NORMAL;
|
||||
|
||||
const CargoSpec *cs;
|
||||
FOR_ALL_CARGOSPECS(cs) {
|
||||
FOR_ALL_SORTED_CARGOSPECS(cs) {
|
||||
const GoodsEntry *ge = &st->goods[cs->Index()];
|
||||
if (!HasBit(ge->acceptance_pickup, GoodsEntry::PICKUP)) continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user