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

Various tracktype related fixes #7863

Merged
merged 6 commits into from Dec 23, 2019
Merged

Various tracktype related fixes #7863

merged 6 commits into from Dec 23, 2019

Conversation

frosch123
Copy link
Member

No description provided.

count[GetRailType(t)]++;
RailType rt;
switch (_settings_client.gui.default_rail_type) {
case 2: {
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps a separate enum would be better, rather than the magic numbers

Copy link
Contributor

Choose a reason for hiding this comment

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

I've the feeling that these fixes should go into master before 1.10.0 is released :D

@LordAro LordAro added this to the 1.10.0 milestone Dec 23, 2019
Copy link
Member

@LordAro LordAro left a comment

Choose a reason for hiding this comment

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

enums can come later

@LordAro LordAro merged commit b769eb3 into OpenTTD:master Dec 23, 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

3 participants