summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-04-02 12:26:20 +0000
committerterkhen <terkhen@openttd.org>2010-04-02 12:26:20 +0000
commitfdc146b3c168cb69c60e3d84247a67121eabd609 (patch)
treeaa9197c23ea9c12b44468635839a239fc2fba4ea /src/station_gui.cpp
parent8660890bbb82638dcb81f713047aa3e16ad82cf4 (diff)
downloadopenttd-fdc146b3c168cb69c60e3d84247a67121eabd609.tar.xz
(svn r19540) -Feature: Sort the ratings of a station by cargo class / name.
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r--src/station_gui.cpp2
1 files changed, 1 insertions, 1 deletions
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;