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: Support for station variable 6B #320

Merged
merged 1 commit into from
Jul 9, 2024
Merged

Add: Support for station variable 6B #320

merged 1 commit into from
Jul 9, 2024

Conversation

glx22
Copy link
Contributor

@glx22 glx22 commented Feb 4, 2024

OpenTTD/OpenTTD#10953 added station variable 6B to get extended station id of nearby tiles.

Since roadstop feature exists only in OpenTTD 14+, I just replaced var68 with var6B.

But for stations an extra compatibility layer is required. OpenTTD 14 is out now, so just replace var68 with var6B.

WenSimEHRP added a commit to OpenTTD-China-Set/china-set-stations that referenced this pull request Apr 30, 2024
@WenSimEHRP
Copy link

For station grfs that has station tiles that relies on ids this PR would be useful. Examples are https://github.com/WenSimEHRP/jppluswins and https://github.com/openttd-china-set/china-set-stations

@PeterN
Copy link
Member

PeterN commented Jul 9, 2024

Is the duplicate key warning an issue?

@glx22
Copy link
Contributor Author

glx22 commented Jul 9, 2024

I failed when solving a conflict.

@glx22 glx22 merged commit bb1d1a4 into OpenTTD:master Jul 9, 2024
21 checks passed
@glx22 glx22 deleted the var6B branch July 9, 2024 23:05
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.

3 participants