summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 399964b42..af6570d98 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -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)