summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-03-06 15:38:13 +0000
committeryexo <yexo@openttd.org>2010-03-06 15:38:13 +0000
commit20e05f878cc9110d5a7540b6042a04cf2b2d5d5e (patch)
treeaf1c8f1b835d119f345fe87be8d9419f0b2ac291 /src/openttd.cpp
parent0baa5ff94495c3bcec79292df8b4409f5ad0802f (diff)
downloadopenttd-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.cpp6
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();