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 label Jan 27, 2019
michicc
michicc previously approved these changes Feb 3, 2019
Copy link
Member

@michicc michicc left a comment

Works according to my super-hacky hacked test NewGRF.

@PeterN
Copy link
Member Author

@PeterN PeterN commented Feb 5, 2019

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

@PeterN PeterN removed the wip label Feb 5, 2019
@PeterN
Copy link
Member Author

@PeterN PeterN commented Feb 5, 2019

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

michicc
michicc approved these changes Feb 5, 2019
@PeterN PeterN merged commit e3b440c into OpenTTD:master Feb 6, 2019
1 check passed
@PeterN PeterN deleted the hidden-railtypes branch Feb 6, 2019
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