Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong station type selected after closing and re-opening build rail station GUI #4530

Closed
DorpsGek opened this issue Feb 22, 2011 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Regiovogel opened the ticket and wrote:

When closing and re-opening the build rail station GUI, the wrong station type is selected. The attached files show this behaviour.
station-1.png: "St. Catharines" is selected, GUI is closed
station-2.png: after opening it again, the button for "Locust Hill" is pressed on the right side - on the left side is still St. Catharines
station-3.png: when building the station, the previously selected "St. Catharines" gets built.

In order to fix this, line 1007 in rail_gui.cpp (as of r22127) has to be changed to

matrix->SetClicked(_railstation.station_type);

Attachments

Reported version: Version?
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/4530
@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Fixed

in r22128


This comment was imported from FlySpray: https://bugs.openttd.org/task/4530

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant