summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-09-02 08:25:15 +0000
committerrubidium <rubidium@openttd.org>2008-09-02 08:25:15 +0000
commitfd97a89c576f900e52d44bb631aba62c9b744202 (patch)
treef37a081114a7b3acb0dfef0c0ca6bc569d7ccb00
parent941f8b5f16d28f3bd7eb204bd2d475574f1e4240 (diff)
downloadopenttd-fd97a89c576f900e52d44bb631aba62c9b744202.tar.xz
(svn r14219) -Fix (rthebeginning): 10 days != 6*2.5 days, effectively causing the payment graph to show the wrong data.
-rw-r--r--src/graph_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp
index 9d84eecda..3392fabc1 100644
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -686,7 +686,7 @@ struct PaymentRatesGraphWindow : BaseGraphWindow {
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++;