Changeset - r28673:11c254f97034
[Not reviewed]
master
0 1 0
dP - 3 months ago 2024-02-04 10:45:24
dp@dpointer.org
Codechange: Replace magic value with a variable (#11980)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/graph_gui.cpp
Show inline comments
 
@@ -1122,7 +1122,7 @@ struct PaymentRatesGraphWindow : BaseGra
 
		int i = 0;
 
		for (const CargoSpec *cs : _sorted_standard_cargo_specs) {
 
			this->colours[i] = cs->legend_colour;
 
			for (uint j = 0; j != 20; j++) {
 
			for (uint j = 0; j != this->num_on_x_axis; j++) {
 
				this->cost[i][j] = GetTransportedGoodsIncome(10, 20, j * 4 + 4, cs->Index());
 
			}
 
			i++;
0 comments (0 inline, 0 general)