diff options
author | Patric Stout <truebrain@openttd.org> | 2021-01-07 08:01:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 08:01:23 +0100 |
commit | c7609e767fa87fbd77f7f3f4bdbc748f2b5e5ffb (patch) | |
tree | 7d69c2c97f29188113f18134ce4f746949f70d04 /Doxyfile.in | |
parent | 28c13ec90fbdc55d27d31652d31a48198b5d2492 (diff) | |
download | openttd-c7609e767fa87fbd77f7f3f4bdbc748f2b5e5ffb.tar.xz |
Fix #7604: prevent houses to wander too far from town center when rebuilding (#8507)
When a multi-tile house is rebuild, it always used the most northern
tile to build the new house. This can very easily lead to houses
wandering off in the north-ish direction (either NW or NE).
To prevent this, pick the tile closest to town center when rebuilding
on a multi-tile house. This still means a house can be build away
from a road, but it is no longer wandering around finding another
town to call home.
Diffstat (limited to 'Doxyfile.in')
0 files changed, 0 insertions, 0 deletions