diff options
author | rubidium <rubidium@openttd.org> | 2007-08-03 20:18:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-08-03 20:18:38 +0000 |
commit | 2dd7a5d296988a6862281ffe7b0057e48105e6a9 (patch) | |
tree | c0df7dce8df2117cbd5b8833a3cc661a360dea88 /src/openttd.cpp | |
parent | 974109446414b91dc80194e6228b27101e61a64f (diff) | |
download | openttd-2dd7a5d296988a6862281ffe7b0057e48105e6a9.tar.xz |
(svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and similarly for AddBlock*.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 2f5b4c8c9..f20003a49 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -302,14 +302,14 @@ static void UnInitializeGame() UnInitializeAirports(); /* Uninitialize variables that are allocated dynamically */ - CleanPool(&_Town_pool); - CleanPool(&_Industry_pool); - CleanPool(&_Station_pool); - CleanPool(&_Vehicle_pool); - CleanPool(&_Sign_pool); - CleanPool(&_Order_pool); - CleanPool(&_Group_pool); - CleanPool(&_CargoPacket_pool); + _Town_pool.CleanPool(); + _Industry_pool.CleanPool(); + _Station_pool.CleanPool(); + _Vehicle_pool.CleanPool(); + _Sign_pool.CleanPool(); + _Order_pool.CleanPool(); + _Group_pool.CleanPool(); + _CargoPacket_pool.CleanPool(); free((void*)_town_sort); free((void*)_industry_sort); |