mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Merged "music" resource type into "sound", enables ogg's use as sounds
This commit is contained in:
@@ -1047,8 +1047,8 @@ namespace
|
||||
|
||||
std::string musicFile(const JsonNode & node)
|
||||
{
|
||||
TEST_FILE(node.meta, "Music/", node.String(), EResType::MUSIC);
|
||||
TEST_FILE(node.meta, "", node.String(), EResType::MUSIC);
|
||||
TEST_FILE(node.meta, "Music/", node.String(), EResType::SOUND);
|
||||
TEST_FILE(node.meta, "", node.String(), EResType::SOUND);
|
||||
return "Music file \"" + node.String() + "\" was not found";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user