mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r12946) -Fix: do not allocate the OldNames table when creating a new game as it won't be used anyway.
This commit is contained in:
parent
7a85e26268
commit
a51e32376e
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user