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

This commit is contained in:
terkhen 2010-04-02 12:26:20 +00:00
parent 8660890bbb
commit fdc146b3c1

View File

@ -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;