mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Use ResourcePath for audio files
This commit is contained in:
@@ -182,7 +182,7 @@ void CAnimation::init()
|
||||
if (vstd::contains(graphics->imageLists, name.getName()))
|
||||
initFromJson(graphics->imageLists[name.getName()]);
|
||||
|
||||
auto jsonResource = name.toType<EResType::TEXT>();
|
||||
auto jsonResource = name.toType<EResType::JSON>();
|
||||
auto configList = CResourceHandler::get()->getResourcesWithName(jsonResource);
|
||||
|
||||
for(auto & loader : configList)
|
||||
|
||||
Reference in New Issue
Block a user