diff options
author | terkhen <terkhen@openttd.org> | 2010-04-02 12:26:20 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2010-04-02 12:26:20 +0000 |
commit | fdc146b3c168cb69c60e3d84247a67121eabd609 (patch) | |
tree | aa9197c23ea9c12b44468635839a239fc2fba4ea /src | |
parent | 8660890bbb82638dcb81f713047aa3e16ad82cf4 (diff) | |
download | openttd-fdc146b3c168cb69c60e3d84247a67121eabd609.tar.xz |
(svn r19540) -Feature: Sort the ratings of a station by cargo class / name.
Diffstat (limited to 'src')
-rw-r--r-- | src/station_gui.cpp | 2 |
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; |