Max distance on trails

Corrected trains when using change direction item