fheroes2 icon indicating copy to clipboard operation
fheroes2 copied to clipboard

Adventure map, hero's predefined path over several days changes after the hero has reached his destination

Open LeHerosInconnu opened this issue 1 year ago • 1 comments

Preliminary checks

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

LeHerosInconnu avatar Feb 08 '24 14:02 LeHerosInconnu

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.

ihhub avatar Feb 27 '24 06:02 ihhub