diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-11-26 12:46:37 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-11-26 13:40:36 +0100 |
commit | 73e6e4106da9dbd2b854ece226819494a6865404 (patch) | |
tree | 2328853a4b6c69631a52f77d417b2c109145df4c /images/die_black_pips.svg | |
parent | e0e56f84ca15014a88a0e391f7ec328e5b489c0e (diff) | |
download | waterloo-campaign-1815-73e6e4106da9dbd2b854ece226819494a6865404.tar.gz |
Improve road search algorithm.
Make it simpler to understand and fix a bug where we would stop searching
if a second road through the same hex was better (or same) than the
current road!
Only check and stop at paths already seen on cross-roads.
Diffstat (limited to 'images/die_black_pips.svg')
0 files changed, 0 insertions, 0 deletions