diff options
author | Vít Šefl <vituscze@gmail.com> | 2021-05-17 22:32:30 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-29 19:00:47 +0200 |
commit | 0125ba82e8b94461894a9628dea6552c0bbfa38d (patch) | |
tree | 56589b0c56546dd40560a984b45211e5af93f902 /src/vehicle.cpp | |
parent | 7713c3e3ccdb8dea2924cc11a7108f227e374232 (diff) | |
download | openttd-0125ba82e8b94461894a9628dea6552c0bbfa38d.tar.xz |
Fix: Do not send vehicles towards incomplete PF nodes
YAPF could end up in a situation where it sets the best intermediate node
to a node whose construction is never finalized (i.e. it is never added to
the open list). The content of the node would be overwritten in the next
round, potentially sending the vehicle to an unwanted location.
Diffstat (limited to 'src/vehicle.cpp')
0 files changed, 0 insertions, 0 deletions