(svn r11888) -Codechange: simplify sorting of the strings in town names dropdown

This commit is contained in:
glx
2008-01-17 02:10:26 +00:00
parent f658b79e15
commit 3d61a1adc5
3 changed files with 31 additions and 41 deletions

View File

@@ -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)