(svn r19353) -Codechange: use static objects for the airport statemachines instead of new/delete at the start/end of the game
-Codechange: store the fta in AirportSpec
This commit is contained in:
@@ -333,9 +333,6 @@ static void ShutdownGame()
|
||||
/* stop the AI */
|
||||
AI::Uninitialize(false);
|
||||
|
||||
/* Uninitialize airport state machines */
|
||||
UnInitializeAirports();
|
||||
|
||||
/* Uninitialize variables that are allocated dynamically */
|
||||
GamelogReset();
|
||||
_town_pool.CleanPool();
|
||||
@@ -605,9 +602,6 @@ int ttd_main(int argc, char *argv[])
|
||||
/* initialize screenshot formats */
|
||||
InitializeScreenshotFormats();
|
||||
|
||||
/* initialize airport state machines */
|
||||
InitializeAirports();
|
||||
|
||||
/* initialize all variables that are allocated dynamically */
|
||||
InitializeDynamicVariables();
|
||||
|
||||
|
Reference in New Issue
Block a user