Changeset - r28240:edc7e3eb1636
[Not reviewed]
master
0 1 0
Peter Nelson - 6 months ago 2023-12-04 18:16:09
peter1138@openttd.org
Change: Show rating in station list even with no cargo waiting. (#11540)

e745bd9 (r21144) changed the filter from cargo waiting to rating, which makes the station list display appear inconsistent with the cargo filter selection.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/station_gui.cpp
Show inline comments
 
@@ -487,7 +487,7 @@ public:
 
					/* show cargo waiting and station ratings */
 
					for (const CargoSpec *cs : _sorted_standard_cargo_specs) {
 
						CargoID cid = cs->Index();
 
						if (st->goods[cid].cargo.TotalCount() > 0) {
 
						if (st->goods[cid].HasRating()) {
 
							/* For RTL we work in exactly the opposite direction. So
 
							 * decrement the space needed first, then draw to the left
 
							 * instead of drawing to the left and then incrementing
0 comments (0 inline, 0 general)