Adventure map, display priority problem with Hero and Jail (1.0.4 7228)
Preliminary checks
- [X] I've checked that there aren't other open issues on the same topic.
- [X] I've checked that this issue is reproducible on the latest snapshot build.
Platform
Windows
Describe the bug
In fheroes2, there is a display priority problem with Hero and Jail.
In fheroes2:
Save file
Here is the save file: Jail hero display priority 20.zip
Additional info
Related closed issue: https://github.com/ihhub/fheroes2/issues/4939.
Related to #5716.
This is the exact same problem in the original game:
Nothing much we can do as this is the problem with object part description. The part is marked as shadow layer which means it is going to be rendered the first.
The only way to fix it is to use a temporary movement of this object part to another layer during rendering. It's very tricky and would look like a hack.