fheroes2 icon indicating copy to clipboard operation
fheroes2 copied to clipboard

Adventure map, the hero's predefined path should be updated when the fog of war is removed

Open LeHerosInconnu opened this issue 2 years ago • 2 comments

Preliminary checks

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

LeHerosInconnu avatar Nov 06 '22 14:11 LeHerosInconnu