Page 1 of 1

[1.1.53] Train placement does not follow preview

Posted: Sat Feb 12, 2022 9:23 am
by teksturi
When we have two station next each other and we are placing train there ghost will always be in wrong station. Placement will happened in correct station though.

Here is video from this situation:
https://www.youtube.com/watch?v=f_EJbSTSDP4

Re: [1.1.53] Train placement does not follow preview

Posted: Sat Feb 12, 2022 1:01 pm
by Loewchen
Ref.: 98054

Re: [1.1.53] Train placement does not follow preview

Posted: Mon Feb 14, 2022 12:57 pm
by boskid
Ok i looked into the logic of locomotive snapping to train stop and there was one suspicious piece of code which would select a single train stop based on some internal order, point is that after selecting one of them it would disregard other train stops that are also nearby. This is now fixed for 1.1.54 - it will look into all candidate train stops and will choose one for which a required movement is the smallest.

Re: [1.1.53] Train placement does not follow preview

Posted: Mon Feb 14, 2022 7:25 pm
by teksturi
Awesome. Thank you guys. You are doing amazing work, keep it up.