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: [AI/GS] Consider neutral station setting when creating tile lists #8030

Conversation

SamuXarick
Copy link
Contributor

No description provided.

@SamuXarick
Copy link
Contributor Author

the "Accepting" list actually didn't really need a fix, as GetAcceptanceAroundTiles already does the check, but it would be executing needless code

CargoArray acceptance = ::GetAcceptanceAroundTiles(cur_tile, 1, 1, radius);

@glx22 glx22 added the backport requested This PR should be backport to current release (RC / stable) label Mar 3, 2020
@glx22 glx22 merged commit 424770d into OpenTTD:master Mar 14, 2020
@SamuXarick SamuXarick deleted the tile-list-that-accept-or-produce-cargo-for-industries branch March 17, 2020 09:41
@LordAro LordAro added backported This PR is backported to a current release (RC / stable) and removed backport requested This PR should be backport to current release (RC / stable) labels Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported This PR is backported to a current release (RC / stable)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants