diff options
author | yexo <yexo@openttd.org> | 2010-03-06 15:38:13 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-03-06 15:38:13 +0000 |
commit | 20e05f878cc9110d5a7540b6042a04cf2b2d5d5e (patch) | |
tree | af1c8f1b835d119f345fe87be8d9419f0b2ac291 /src/openttd.cpp | |
parent | 0baa5ff94495c3bcec79292df8b4409f5ad0802f (diff) | |
download | openttd-20e05f878cc9110d5a7540b6042a04cf2b2d5d5e.tar.xz |
(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
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 057d288b9..1dd69b904 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -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(); |