It is turned off by default, activate it under advanced settings - interface.
I am not so deep in coding complex programs yet and open for hints. (also for coding style)
One question came across while coding that patch: should there be a check like
Code: Select all
if(type != VEH_TRAIN)
And as english is not my mother tongue, is the term "traction unit" (and even "locomotive") the correct one? In german I would name them "Lokomotive" and "Triebkopf".