News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

trains decelerate at waypoints with signals to 25 km/h

Started by Dwachs, April 23, 2010, 07:55:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dwachs

.. while this does not happen for signals not on waypoints or waypoints without signals.
Parsley, sage, rosemary, and maggikraut.

neroden

Quote from: Dwachs on April 23, 2010, 07:55:45 AM
.. while this does not happen for signals not on waypoints or waypoints without signals.

This is triggering the braking code in vehicle/simvehikel.cc:

                       if(check_for_finish) {
                                // for the half last tile to stop in stations only
                                brake_speed_soll = kmh_to_speed(25);
                        }


I guess a waypoint with a signal triggers "check_for_finish".

neroden

Is this bug still happening?  The waypoint-signal combo *shouldn't* trigger check_for_finish, and I haven't figured out why it *is* triggering it.

prissi

It has nothing to do with finish. The waypoint on a signal is treated as a red signal, since it cannot check for free route until reached.