File diff r23537:f6a6d4ce4bd5 → r23538:8df50944b27a
src/rail_cmd.cpp
Show inline comments
 
@@ -41,7 +41,7 @@
 
#include "safeguards.h"
 

	
 
/** Helper type for lists/vectors of trains */
 
typedef SmallVector<Train *, 16> TrainList;
 
typedef std::vector<Train *> TrainList;
 

	
 
RailtypeInfo _railtypes[RAILTYPE_END];
 
RailType _sorted_railtypes[RAILTYPE_END];
 
@@ -1603,7 +1603,7 @@ CommandCost CmdConvertRail(TileIndex til
 
			continue;
 
		}
 

	
 
		SmallVector<Train *, 2> vehicles_affected;
 
		std::vector<Train *> vehicles_affected;
 

	
 
		/* Vehicle on the tile when not converting Rail <-> ElRail
 
		 * Tunnels and bridges have special check later */