From fdc146b3c168cb69c60e3d84247a67121eabd609 Mon Sep 17 00:00:00 2001 From: terkhen Date: Fri, 2 Apr 2010 12:26:20 +0000 Subject: (svn r19540) -Feature: Sort the ratings of a station by cargo class / name. --- src/station_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/station_gui.cpp b/src/station_gui.cpp index e731931dd..3fbe9c465 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -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; -- cgit v1.2.3-70-g09d2