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
If we are removing a single rail waypoint by the waypoint removal tool (ctrl pressed - remove the track too) it costs us PR_CLEAR_WAYPOINT_RAIL. However, when destroying a single rail waypoint by the demolish tool it costs us PR_CLEAR_STATION_RAIL instead of expected PR_CLEAR_WAYPOINT_RAIL.
I'm attaching a patch. It does two things:
- fixes the bug
- deduplicates some code (rail station removal and rail station demolition)
adf88 opened the ticket and wrote:
Attachments
Reported version: trunk
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/6251
The text was updated successfully, but these errors were encountered: