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

Fix #201: rename MAP_TYPE_RECTANGULAR to MAP_TYPE_SQUARE #203

Merged
merged 2 commits into from Apr 14, 2021

Conversation

glx22
Copy link
Contributor

@glx22 glx22 commented Apr 14, 2021

The name of the constant is the opposite of its meaning, so it needs a rename.
Some constants were already renamed before, and kept for compatibility without users being notified of the deprecation, so I added a way to warn users before adding this new rename.

Fixes #201

@LordAro LordAro changed the title Fix #201: rename MAP_TYPE_RECTANGULAR to MAP_TYPE_SQUARE Fix #201: rename MAP_TYPE_RECTANGULAR to MAP_TYPE_SQUARE Apr 14, 2021
@glx22 glx22 merged commit bb7a610 into OpenTTD:master Apr 14, 2021
@glx22 glx22 deleted the deprecated_constant branch April 14, 2021 16:10
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.

Possible misnamed constant in global variable map_type
2 participants