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

[Bug]: PR #9902 considers all industry tile layouts of only one tile to be invalid #9925

Closed
JGRennison opened this issue Jun 17, 2022 · 0 comments · Fixed by #9926
Closed

Comments

@JGRennison
Copy link
Contributor

Version of OpenTTD

Since #9902

Expected result

Valid industry tile layouts which contain only one tile are not considered invalid

Actual result

Valid industry tile layouts which contain only one tile are considered invalid

The logic for counting the number of valid regular tiles in the industry tile layout is not correct, it should be done separately from the duplicate tile coordinate check.

Steps to reproduce

See a NewGRF industry set which defines industries with a tile layout containing only one tile (i.e 1x1 overall size), e.g. https://github.com/2TallTyler/plaza_ind

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 a pull request may close this issue.

1 participant