mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-22 22:13:35 +02:00
9fbeacb688
Fixes two bugs, one was definitely happening, and 2nd one that is causing undefined behavior and may work only in some std implementations - VideoPlayer would attempt to access subtitles widget after VideoPlayer itself was destroyed in onPlaybackFinished call - std::function was destroyed from a function that is being called by it. Replaced with 1-method interface to avoid usage of std::function in this scenario |
||
---|---|---|
.. | ||
CCampaignScreen.cpp | ||
CCampaignScreen.h | ||
CHighScoreScreen.cpp | ||
CHighScoreScreen.h | ||
CMainMenu.cpp | ||
CMainMenu.h | ||
CPrologEpilogVideo.cpp | ||
CPrologEpilogVideo.h | ||
CreditsScreen.cpp | ||
CreditsScreen.h | ||
CStatisticScreen.cpp | ||
CStatisticScreen.h |