TBTR: Handle setting unit direction separately from refits
This commit is contained in:
		@@ -47,6 +47,7 @@ uint CountsTrainsNeedingTemplateReplacement(GroupID g_id, const TemplateVehicle
 | 
			
		||||
CommandCost TestBuyAllTemplateVehiclesInChain(TemplateVehicle *tv, TileIndex tile);
 | 
			
		||||
 | 
			
		||||
CommandCost CmdRefitTrainFromTemplate(Train *t, TemplateVehicle *tv, DoCommandFlag flags);
 | 
			
		||||
CommandCost CmdSetTrainUnitDirectionFromTemplate(Train *t, TemplateVehicle *tv, DoCommandFlag flags);
 | 
			
		||||
void BreakUpRemainders(Train *t);
 | 
			
		||||
 | 
			
		||||
bool TemplateVehicleContainsEngineOfRailtype(const TemplateVehicle *tv, RailType type);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user