File diff r5867:de68577800e6 → r5868:bc3e720ec5f7
src/engine.cpp
Show inline comments
 
@@ -285,7 +285,7 @@ int32 CmdWantEnginePreview(TileIndex til
 
// Determine if an engine type is a wagon (and not a loco)
 
static bool IsWagon(EngineID index)
 
{
 
	return index < NUM_TRAIN_ENGINES && RailVehInfo(index)->flags & RVI_WAGON;
 
	return index < NUM_TRAIN_ENGINES && RailVehInfo(index)->railveh_type == RAILVEH_WAGON;
 
}
 

	
 
static void NewVehicleAvailable(Engine *e)