diff options
author | rubidium <rubidium@openttd.org> | 2014-05-11 18:02:11 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-05-11 18:02:11 +0000 |
commit | 89c25b955e636efa46d65ebf5b4782b77f30f764 (patch) | |
tree | df0d3aacb099edb188c2cab71394604569707af8 /src/station_gui.cpp | |
parent | 62378e098b008d41fa4f428b212bc238d33c5aad (diff) | |
download | openttd-89c25b955e636efa46d65ebf5b4782b77f30f764.tar.xz |
(svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore)
Diffstat (limited to 'src/station_gui.cpp')
-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 b773a1af4..e9f0a9240 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -1798,7 +1798,7 @@ struct StationViewWindow : public Window { uint32 cargo_mask = 0; for (CargoID i = 0; i < NUM_CARGO; i++) { - if (HasBit(st->goods[i].acceptance_pickup, GoodsEntry::GES_ACCEPTANCE)) SetBit(cargo_mask, i); + if (HasBit(st->goods[i].status, GoodsEntry::GES_ACCEPTANCE)) SetBit(cargo_mask, i); } SetDParam(0, cargo_mask); int bottom = DrawStringMultiLine(r.left + WD_FRAMERECT_LEFT, r.right - WD_FRAMERECT_RIGHT, r.top + WD_FRAMERECT_TOP, INT32_MAX, STR_STATION_VIEW_ACCEPTS_CARGO); |