mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
(svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
-Fix: some displays of money were wrong.
This commit is contained in:
@@ -162,7 +162,7 @@ static void DrawGraph(const GraphDrawer *gw)
|
||||
|
||||
for (int i = 0; i < GRAPH_NUM_LINES_Y; i++) {
|
||||
SetDParam(0, gw->format_str_y_axis);
|
||||
SetDParam64(1, y_label);
|
||||
SetDParam(1, y_label);
|
||||
DrawStringRightAligned(x, y, STR_0170, GRAPH_AXIS_LABEL_COLOUR);
|
||||
|
||||
y_label -= y_label_separation;
|
||||
|
Reference in New Issue
Block a user