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 #36: global variable traffic_side was inconsistent with global pa… #37

Merged
merged 1 commit into from May 4, 2019

Conversation

Eddi-z
Copy link
Contributor

@Eddi-z Eddi-z commented May 4, 2019

…rameter traffic_side

@Eddi-z
Copy link
Contributor Author

Eddi-z commented May 4, 2019

The global parameter is defined with:

./nml/global_constants.py:    'traffic_side'                       : {'param': 0x86, 'bit': 4},

for comparison with the constants

./nml/global_constants.py:    'TRAFFIC_SIDE_LEFT'                  : 0,
./nml/global_constants.py:    'TRAFFIC_SIDE_RIGHT'                 : 1,

This PR changes the definition in ./nml/actions/action2var_variables.py to match

@michicc michicc merged commit 554b458 into OpenTTD:master May 4, 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