fheroes2
fheroes2 copied to clipboard
Adventure map, there is something wrong with the management of the mouse cursor position according to the destination square
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 something wrong with the management of the mouse cursor position according to the destination square.
In fheroes2 :
In the example, with a different predefined hero path if the position of the mouse cursor is different by a few pixels when clicking on the destination square.
In the example, with the mouse cursor changing according to the mouse placement, attack cursor over the sprite of the hero who initiates the attack, attack cursor changing to arrow cursor in relation to the position over the boat.
https://user-images.githubusercontent.com/43583994/132094996-71f0ea44-2b24-4a98-8956-b4e5666addb3.mp4
Save file
Here are the save files: Mouse cursor management 01.zip
Additional info
Version 0.9.6 4111
Edit:
Related issue: https://github.com/ihhub/fheroes2/issues/1307.
Edit 2022/06/06.
Another example for this.
In fheroes2:
Here is the save file: Cursor position 10.zip
Version 0.9.15 5406
Hello, @LeHerosInconnu. Isn't it the same to #1307?
@Branikolog.
Hello, @LeHerosInconnu. Isn't it the same to #1307?
I did not see your issue in my search. I think they are complementary because different cases are reported (yours with an adjacent square). I added the link in the first post.
Attach updated saves version. saves_0.9.20.zip