1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 01:49:10 +00:00

Fix #5654: (Re)initialise graph GUI on game (re)start (#7191)

This commit is contained in:
Gabda
2019-02-07 21:17:32 +01:00
committed by Charles Pigott
parent 62d6cd75ba
commit 5e4f76f2f9
2 changed files with 8 additions and 0 deletions

View File

@@ -1580,3 +1580,9 @@ void ShowPerformanceRatingDetail()
{
AllocateWindowDescFront<PerformanceRatingDetailWindow>(&_performance_rating_detail_desc, 0);
}
void InitializeGraphGui()
{
_legend_excluded_companies = 0;
_legend_excluded_cargo = 0;
}