FS#6590 - Stations: allow building stations on railtypes other than the one currently selected

Attached to Project: OpenTTD
Opened by James (james1101) - Thursday, 20 July 2017, 01:59 GMT
Last edited by andythenorth (andythenorth) - Friday, 01 September 2017, 10:30 GMT
Type Bug
Category Core
Status New
Assigned To No-one
Operating System Windows
Severity Medium
Priority Normal
Reported Version 1.7.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


1. Place a piece of "Electrified Rail".
2. Try to Place an "Unelectrified Rail" station. Succeeds if track is compatible.

1. Place a piece of "Electrified Rail".
2. Try to Place an "Unelectrified Rail" station. Fails with "must remove railway track first" error message.

Suggested Fix: When placing a station whose track is not the type selected, check for track compatibility, and if the two types are compatible, continue anyway with the track type on the tile instead.

(The area inside the white border is the tile that I was trying to place station at.)

Using Windows 7 Ultimate.
This task depends upon

Comment by andythenorth (andythenorth) - Friday, 18 August 2017, 21:30 GMT
From irc: Eddi|zuHause: anyway, if the question was whether overbuilding an existing track/station should ignore which tracktype you have selected in the gui, then yes, i'm for that
Comment by Grzegorz DuczyƄski (adf88) - Saturday, 19 August 2017, 10:34 GMT