diff options
author | Patric Stout <truebrain@openttd.org> | 2021-01-06 19:39:20 +0100 |
---|---|---|
committer | Patric Stout <github@truebrain.nl> | 2021-01-08 12:02:25 +0100 |
commit | ebd9f26c152a400d55d52bad77ec97ea2f5788fe (patch) | |
tree | a5915baf5df523609d08185b9fa1182693e9ce7b /src/pathfinder/yapf | |
parent | ef6b17baf74119e5c1515482cd6feb837afbe90b (diff) | |
download | openttd-ebd9f26c152a400d55d52bad77ec97ea2f5788fe.tar.xz |
Fix: replacing a bridge didn't charge for clearing last tile
It only considered the end-tile (or start-tile) for the bridge,
instead of both. This is obvious in the rest of the code which
constantly does "+ 2"; this being the only place that does a "+ 1".
Diffstat (limited to 'src/pathfinder/yapf')
0 files changed, 0 insertions, 0 deletions