summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-01-17 02:10:26 +0000
committerglx <glx@openttd.org>2008-01-17 02:10:26 +0000
commit3d61a1adc51000d7769de19bf2fc142b0d014f93 (patch)
tree8767cdd3d80024fd8cb04f353b19f9ad335c06a0 /src/newgrf.cpp
parentf658b79e152a178a1a6b8c5d585a523de15f1830 (diff)
downloadopenttd-3d61a1adc51000d7769de19bf2fc142b0d014f93.tar.xz
(svn r11888) -Codechange: simplify sorting of the strings in town names dropdown
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)