1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Use ResourcePath for video accessing

This commit is contained in:
Ivan Savenko
2023-09-02 00:57:25 +03:00
parent 6f0108e462
commit 97b7d44c88
15 changed files with 47 additions and 38 deletions

View File

@@ -116,7 +116,7 @@ void CMenuScreen::activate()
{
CCS->musich->playMusic("Music/MainMenu", true, true);
if(!config["video"].isNull())
CCS->videoh->open(config["video"]["name"].String());
CCS->videoh->open(VideoPath::fromJson(config["video"]["name"]));
CIntObject::activate();
}