File diff r27284:4acfb9883717 → r27285:3bb11625e41b
src/newgrf_roadstop.cpp
Show inline comments
 
@@ -31,13 +31,10 @@ template <typename Tspec, typename Tid, 
 
void NewGRFClass<Tspec, Tid, Tmax>::InsertDefaults()
 
{
 
	/* Set up initial data */
 
	classes[0].global_id = 'DFLT';
 
	classes[0].name = STR_STATION_CLASS_DFLT;
 
	classes[0].Insert(nullptr);
 

	
 
	classes[1].global_id = 'WAYP';
 
	classes[1].name = STR_STATION_CLASS_WAYP;
 
	classes[1].Insert(nullptr);
 
	RoadStopClass::Get(RoadStopClass::Allocate('DFLT'))->name = STR_STATION_CLASS_DFLT;
 
	RoadStopClass::Get(RoadStopClass::Allocate('DFLT'))->Insert(nullptr);
 
	RoadStopClass::Get(RoadStopClass::Allocate('WAYP'))->name = STR_STATION_CLASS_WAYP;
 
	RoadStopClass::Get(RoadStopClass::Allocate('WAYP'))->Insert(nullptr);
 
}
 

	
 
template <typename Tspec, typename Tid, Tid Tmax>