fheroes2
fheroes2 copied to clipboard
Adventure map, hero's predefined path over several days changes after the hero has reached his destination
Preliminary checks
- [X] I've checked that there aren't other open issues on the same topic.
Describe the problem requiring a solution
In fheroes2, the hero's predefined path over several days changes after the hero has reached his destination. This should not be the case.
In fheroes2:
https://github.com/ihhub/fheroes2/assets/43583994/51015ca7-d080-4856-a17c-43f1c675aa15
Here is the save file: Bedore hero path change 01.zip
Describe the possible solution
In fheroes2, the hero's predefined path over several days changes after the hero has reached his destination. This should not be the case.
Additional info
No response
This is the problem that we recalculate the path every time a hero makes an action. I am not sure how properly handle this case as it's valid to do recalculation.