(svn r19540) -Feature: Sort the ratings of a station by cargo class / name.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
terkhen 15 years ago
parent 8660890bbb
commit fdc146b3c1

@ -1128,7 +1128,7 @@ struct StationViewWindow : public Window {
y += FONT_HEIGHT_NORMAL; y += FONT_HEIGHT_NORMAL;
const CargoSpec *cs; const CargoSpec *cs;
FOR_ALL_CARGOSPECS(cs) { FOR_ALL_SORTED_CARGOSPECS(cs) {
const GoodsEntry *ge = &st->goods[cs->Index()]; const GoodsEntry *ge = &st->goods[cs->Index()];
if (!HasBit(ge->acceptance_pickup, GoodsEntry::PICKUP)) continue; if (!HasBit(ge->acceptance_pickup, GoodsEntry::PICKUP)) continue;

Loading…
Cancel
Save