diff options
author | PeterN <peter@fuzzle.org> | 2019-03-03 22:28:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-03 22:28:55 +0000 |
commit | ebc3934ee642e2528768d6747ce6c09869f32b76 (patch) | |
tree | 93a65882fea114d3e655f07f86ec9b7a1c56fb03 /src/lang | |
parent | 3c94bddbc221a604dab184f6f1133764bfef03e1 (diff) | |
download | openttd-ebc3934ee642e2528768d6747ce6c09869f32b76.tar.xz |
Fix #7043, Fix #7274: Delete town owned bridge based on adjacent tile ownership, not nearest town. (#7284)
This only affects failed town generation, as towns do not delete bridges under any other circumstances.
The existing test performed badly with a large number of towns due to having to calculate the
nearest town, and also by its nature assumed a bridge was built by the nearest town, leading
to bridges of nearby large towns be removed incorrectly.
If we gain the ability to quickly retrieve the correct town (which is _not_ the nearest town) from the bridge, this change should be reviewed.
Diffstat (limited to 'src/lang')
0 files changed, 0 insertions, 0 deletions