(svn r1783) -Add: Dynamic vehicles (now up to 64k of vehicles)
This commit is contained in:
		
							
								
								
									
										2
									
								
								ttd.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ttd.c
									
									
									
									
									
								
							@@ -496,7 +496,6 @@ static void InitializeDynamicVariables(void)
 | 
			
		||||
{
 | 
			
		||||
	/* Dynamic stuff needs to be initialized somewhere... */
 | 
			
		||||
	_roadstops_size = lengthof(_roadstops);
 | 
			
		||||
	_vehicles_size  = lengthof(_vehicles);
 | 
			
		||||
	_sign_size      = lengthof(_sign_list);
 | 
			
		||||
	_orders_size    = lengthof(_orders);
 | 
			
		||||
 | 
			
		||||
@@ -512,6 +511,7 @@ static void UnInitializeDynamicVariables(void)
 | 
			
		||||
	CleanPool(&_town_pool);
 | 
			
		||||
	CleanPool(&_industry_pool);
 | 
			
		||||
	CleanPool(&_station_pool);
 | 
			
		||||
	CleanPool(&_vehicle_pool);
 | 
			
		||||
 | 
			
		||||
	free(_station_sort);
 | 
			
		||||
	free(_vehicle_sort);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user