You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the attached savegame. Demolish the tile between the arrows to see the bug in action.
When a part of a reserved path is demolished or otherwise changed, the entire path of the vehicle is unreserved. To do this GetTrainForReservation is used. This function fails to find the correct train when the train is on a bridge. This causes leftover reservations that don't belong to any vehicle. If reserved paths aren't shown, this could be very confusing to the user.
Attached is a hg diff that fixes the problem for me. However, I don't know the code intimately enough to make sure that there aren't any side effects.
Hirundo opened the ticket and wrote:
Attachments
Reported version: trunk
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/3345
The text was updated successfully, but these errors were encountered: