From 83d06423c37f62edd6ca22cf5b2e42420efbb891 Mon Sep 17 00:00:00 2001 From: dP Date: Mon, 10 Aug 2020 01:51:07 +0300 Subject: [PATCH] Fix delivered cargo graph displaying units as money --- cm_changelog.txt | 4 +++- src/graph_gui.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cm_changelog.txt b/cm_changelog.txt index d769cfc105..0887e7fdc8 100644 --- a/cm_changelog.txt +++ b/cm_changelog.txt @@ -74,7 +74,7 @@ This is usable for any OpenTTD servers == CHANGELOG == -*** 1.10.3 () *** +*** 1.10.3 (10 Aug 2020) *** - Fix order hotkeys adding extra no load/unload orders. - Allow to use TAB as a hotkey. - Add hotkey to toggle minimap. @@ -98,6 +98,8 @@ This is usable for any OpenTTD servers - Show preview when building a rail depot. - Fix: sprite preview in sprite aligner is too small with scaled UI. - Slightly improve funding highlight update. +- Remove cargo color icons from income and delivered cargo graphs to avoid confusion with company colors. +- Fix delivered cargo graph displaying units as money. *** 1.10.2 (5 Jun 2020) *** - Add new minimap mode showing industries, height and farms at the same time. diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index 8e3bc7be9f..d6be0fdce7 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -934,7 +934,7 @@ void ShowIncomeGraph() struct DeliveredCargoGraphWindow : ExcludingCargoBaseGraphWindow { DeliveredCargoGraphWindow(WindowDesc *desc, WindowNumber window_number) : - ExcludingCargoBaseGraphWindow(desc, WID_CPR_GRAPH, STR_JUST_CURRENCY_SHORT, false) + ExcludingCargoBaseGraphWindow(desc, WID_CPR_GRAPH, STR_JUST_COMMA, false) { this->CreateNestedTree(); this->vscroll = this->GetScrollbar(WID_CPR_MATRIX_SCROLLBAR);