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 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
Copy link
Member

michicc left a comment

Works according to my super-hacky hacked test NewGRF.

@PeterN PeterN force-pushed the PeterN:hidden-railtypes branch from ce04255 to 6deeb81 Feb 5, 2019
@PeterN

This comment has been minimized.

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 label Feb 5, 2019
@PeterN

This comment has been minimized.

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.

@michicc
michicc approved these changes Feb 5, 2019
@PeterN PeterN merged commit e3b440c into OpenTTD:master Feb 6, 2019
1 check passed
1 check passed
OpenTTD CI Build #20190205.2 succeeded
Details
@PeterN PeterN deleted the PeterN:hidden-railtypes branch Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.