(svn r14219) -Fix (rthebeginning): 10 days != 6*2.5 days, effectively causing the payment graph to show the wrong data.
authorrubidium
Tue, 02 Sep 2008 08:25:15 +0000
changeset 10054 69258fa808b7
parent 10053 4df9e8656293
child 10055 b3bf982d7879
(svn r14219) -Fix (rthebeginning): 10 days != 6*2.5 days, effectively causing the payment graph to show the wrong data.
src/graph_gui.cpp
--- a/src/graph_gui.cpp	Mon Sep 01 08:57:33 2008 +0000
+++ b/src/graph_gui.cpp	Tue Sep 02 08:25:15 2008 +0000
@@ -686,7 +686,7 @@
 
 			this->colors[i] = cs->legend_colour;
 			for (uint j = 0; j != 20; j++) {
-				this->cost[i][j] = GetTransportedGoodsIncome(10, 20, j * 6 + 6, c);
+				this->cost[i][j] = GetTransportedGoodsIncome(10, 20, j * 4 + 4, c);
 			}
 
 			i++;