fheroes2
fheroes2 copied to clipboard
Adventure map, the hero's predefined path should be updated when the fog of war is removed
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 should be updated when the fog of war is removed.
With each hero's step on the adventure map, the predefined path should be recalculated according to the squares discovered under the removed fog of war.
In the example, the predefined hero path does not allow to attack the castle. Whereas if the path was updated, the castle could be attacked.
In fheroes2:
https://user-images.githubusercontent.com/43583994/200176876-a1e031c3-337f-48e0-868f-c2c703b982c6.mp4
Here is the save file: Path with fog 05.zip
Describe the possible solution
Recalculate the hero's path when the fog of war is removed.
Additional info
No response