mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Use ResourcePath for audio files
This commit is contained in:
@@ -583,7 +583,7 @@ void Animation::init()
|
||||
source[defEntry.first].resize(defEntry.second);
|
||||
}
|
||||
|
||||
ResourcePath resID(std::string("SPRITES/") + name, EResType::TEXT);
|
||||
JsonPath resID = JsonPath::builtin("SPRITES/" + name);
|
||||
|
||||
//if(vstd::contains(graphics->imageLists, resID.getName()))
|
||||
//initFromJson(graphics->imageLists[resID.getName()]);
|
||||
|
||||
Reference in New Issue
Block a user