ihhub / fheroes2

fheroes2 is a recreation of Heroes of Might and Magic II game engine.
https://ihhub.github.io/fheroes2/
GNU General Public License v2.0
2.58k stars 360 forks source link

Adventure map, sometimes the hero's movement animation is stopped when he enters the stone liths #8795

Open LeHerosInconnu opened 1 month ago

LeHerosInconnu commented 1 month ago

Preliminary checks

Platform

Windows

Describe the bug

In fheroes2, sometimes the hero's movement animation is stopped when he enters the stone liths, then resumed, before the hero is transported to the other stone liths.

In fheroes2:

vlcsnap-2024-06-01-20h37m06s251

https://github.com/ihhub/fheroes2/assets/43583994/01259c80-5fa6-4788-9adb-5052d480b0c5

Save file

Here is the save file: Before stone liths 01.zip

Additional info

No response

oleg-derevenetz commented 1 month ago

The reason here is exactly the same as in the case of other similar delays, when some sound effect (teleport sound in this case) is waiting for the start of the new MIDI track playback (Swamp MIDI track playback in this case, since hero is briefly enters the Swamp tile before visiting the Stone Liths). There is no delay when music type is switched from MIDI to External.