src/openttd.cpp
changeset 9306 7dd0a9130ebf
parent 9230 6710ef7d0226
child 9334 28ac6c8e0795
equal deleted inserted replaced
9305:d6694e58c36b 9306:7dd0a9130ebf
   281 
   281 
   282 static void InitializeDynamicVariables()
   282 static void InitializeDynamicVariables()
   283 {
   283 {
   284 	/* Dynamic stuff needs to be initialized somewhere... */
   284 	/* Dynamic stuff needs to be initialized somewhere... */
   285 	_town_sort     = NULL;
   285 	_town_sort     = NULL;
   286 	_industry_sort = NULL;
       
   287 	_industry_mngr.ResetMapping();
   286 	_industry_mngr.ResetMapping();
   288 	_industile_mngr.ResetMapping();
   287 	_industile_mngr.ResetMapping();
   289 }
   288 }
   290 
   289 
   291 
   290 
   318 	_Group_pool.CleanPool();
   317 	_Group_pool.CleanPool();
   319 	_CargoPacket_pool.CleanPool();
   318 	_CargoPacket_pool.CleanPool();
   320 	_Engine_pool.CleanPool();
   319 	_Engine_pool.CleanPool();
   321 
   320 
   322 	free((void*)_town_sort);
   321 	free((void*)_town_sort);
   323 	free((void*)_industry_sort);
       
   324 
   322 
   325 	free(_config_file);
   323 	free(_config_file);
   326 
   324 
   327 	/* Close all and any open filehandles */
   325 	/* Close all and any open filehandles */
   328 	FioCloseAll();
   326 	FioCloseAll();