(svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and similarly for AddBlock*.

This commit is contained in:
rubidium
2007-08-03 20:18:38 +00:00
parent 9df2e25258
commit 655b2048e5
8 changed files with 30 additions and 48 deletions

View File

@@ -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);