summaryrefslogtreecommitdiff
path: root/projects/openttd_vs142.vcxproj
diff options
context:
space:
mode:
authorPeterN <peter@fuzzle.org>2019-03-30 22:19:50 +0000
committerGitHub <noreply@github.com>2019-03-30 22:19:50 +0000
commit32fda83d3916197a46215c83ddd85b2e50128a02 (patch)
treee4e57057351d5dafa1b3e855f8bd2266fca19233 /projects/openttd_vs142.vcxproj
parent423aea5c32c1cca5e59f5c994730aeb4ff09a56f (diff)
downloadopenttd-32fda83d3916197a46215c83ddd85b2e50128a02.tar.xz
Fix aa7ca7fe6: Linkgraph node index order must be maintained due to other references. (#7431)
Linkgraph nodes require a specific order that was maintained by swapping just the last element for the node to be removed. std::vector::erase() changed this to removing the node is then shuffling the remain items down, which upsets other references to this indices. This is fixed by switching back to the original swap & pop method.
Diffstat (limited to 'projects/openttd_vs142.vcxproj')
0 files changed, 0 insertions, 0 deletions