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

Add #5006: Flag to hide rail type from construction. #7118

Merged
merged 1 commit into from Feb 6, 2019

Conversation

PeterN
Copy link
Member

@PeterN PeterN commented Jan 27, 2019

This will need to be tested with a NewGRF to check if functionality is as expected/desired.

@PeterN PeterN added the wip Work in progress. Feature branch that will require feedback during the development process label Jan 27, 2019
michicc
michicc previously approved these changes Feb 3, 2019
Copy link
Member

@michicc michicc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works according to my super-hacky hacked test NewGRF.

@PeterN
Copy link
Member Author

PeterN commented Feb 5, 2019

Updated to address a crash caused by all available rail types being hidden.

@PeterN PeterN removed the wip Work in progress. Feature branch that will require feedback during the development process label Feb 5, 2019
@PeterN
Copy link
Member Author

PeterN commented Feb 5, 2019

Have tested this by setting appropriate flags in src/table/railtypes.h, and it works as I expect.

@PeterN PeterN merged commit e3b440c into OpenTTD:master Feb 6, 2019
@PeterN PeterN deleted the hidden-railtypes branch February 6, 2019 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants