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 #7334: Ship lost after crossing bridge due to path cache not being consumed while on final bridge end. #7335

Merged
merged 1 commit into from Mar 8, 2019

Conversation

PeterN
Copy link
Member

@PeterN PeterN commented Mar 6, 2019

Fixes #7334.

An alternative method would be to not add the bridge tile to the path cache in the first place, however that requires checking every tile within the path to see if it's a bridge tile (not particularly slow but it adds up), whereas this method merely removes one entry from the cache when necessary.

This needs to be backported to 1.9.

…ot being consumed while on final bridge end.
@PeterN PeterN added the regression It used to work, and now it's broken. label Mar 6, 2019
@PeterN PeterN added this to the 1.9.0 milestone Mar 6, 2019
@PeterN PeterN added backport requested This PR should be backport to current release (RC / stable) needs review labels Mar 6, 2019
@michicc michicc merged commit a69eb5f into OpenTTD:master Mar 8, 2019
@TrueBrain TrueBrain added backported This PR is backported to a current release (RC / stable) and removed needs review backport requested This PR should be backport to current release (RC / stable) labels Mar 10, 2019
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) regression It used to work, and now it's broken.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants