(svn r19521) -Codechange: Use a IndustryType array to sort industries by name instead of a LegendAndColour array.

This commit is contained in:
terkhen
2010-03-28 12:25:09 +00:00
parent 285406f1f3
commit bda9ad98c1
5 changed files with 52 additions and 32 deletions

View File

@@ -6809,6 +6809,9 @@ static void AfterLoadGRFs()
/* Add all new industries to the industry array. */
FinaliseIndustriesArray();
/* Sort the list of industry types. */
SortIndustryTypes();
/* Create dynamic list of industry legends for smallmap_gui.cpp */
BuildIndustriesLegend();