diff options
author | rubidium <rubidium@openttd.org> | 2008-05-04 22:19:44 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-04 22:19:44 +0000 |
commit | a51e32376eda7c62de0b70d3771324dec6afbbc0 (patch) | |
tree | 38209477fcd5254bddd602fc85b4eef9f59050d6 /src | |
parent | 7a85e26268fe1b931753194f207132efcd9325fe (diff) | |
download | openttd-a51e32376eda7c62de0b70d3771324dec6afbbc0.tar.xz |
(svn r12946) -Fix: do not allocate the OldNames table when creating a new game as it won't be used anyway.
Diffstat (limited to 'src')
-rw-r--r-- | src/misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.cpp b/src/misc.cpp index 796f937fa..7963520bc 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -68,6 +68,7 @@ void InitializeGame(int mode, uint size_x, uint size_y) if ((mode & IG_DATE_RESET) == IG_DATE_RESET) { SetDate(ConvertYMDToDate(_patches.starting_year, 0, 1)); + InitializeOldNames(); } InitializeEngines(); @@ -92,7 +93,6 @@ void InitializeGame(int mode, uint size_x, uint size_y) InitializeIndustries(); InitializeBuildingCounts(); - InitializeOldNames(); InitializeVehiclesGuiList(); InitializeTrains(); InitializeNPF(); |