forked from mirror/OpenTTD
(svn r11888) -Codechange: simplify sorting of the strings in town names dropdown
This commit is contained in:
@@ -5555,7 +5555,7 @@ void LoadNewGRFFile(GRFConfig *config, uint file_index, GrfLoadingStage stage)
|
||||
|
||||
void InitDepotWindowBlockSizes();
|
||||
|
||||
extern void SortTownGeneratorNames();
|
||||
extern void InitGRFTownGeneratorNames();
|
||||
|
||||
static void AfterLoadGRFs()
|
||||
{
|
||||
@@ -5586,7 +5586,7 @@ static void AfterLoadGRFs()
|
||||
MapNewCargoStrings();
|
||||
|
||||
/* Update the townname generators list */
|
||||
SortTownGeneratorNames();
|
||||
InitGRFTownGeneratorNames();
|
||||
}
|
||||
|
||||
void LoadNewGRF(uint load_index, uint file_index)
|
||||
|
Reference in New Issue
Block a user