summaryrefslogtreecommitdiff
path: root/src/graph_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r--src/graph_gui.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp
index bbf1c22d6..08b99598f 100644
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -1580,3 +1580,9 @@ void ShowPerformanceRatingDetail()
{
AllocateWindowDescFront<PerformanceRatingDetailWindow>(&_performance_rating_detail_desc, 0);
}
+
+void InitializeGraphGui()
+{
+ _legend_excluded_companies = 0;
+ _legend_excluded_cargo = 0;
+}