summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index a1dfd7917..c8d5530a7 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -9013,6 +9013,9 @@ static void AfterLoadGRFs()
InitializeSortedCargoSpecs();
+ /* Create dynamic list of cargo legends for smallmap_gui.cpp. */
+ BuildCargoTypesLegend();
+
/* Sort the list of industry types. */
SortIndustryTypes();