1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Removed old code - VCMI now supports json-based animations everywhere

This commit is contained in:
Ivan Savenko 2023-03-30 19:59:19 +03:00
parent 46ccd65080
commit e652b3eef0

View File

@ -1059,8 +1059,7 @@ namespace
std::string defFile(const JsonNode & node)
{
TEST_FILE(node.meta, "Sprites/", node.String(), EResType::ANIMATION);
return "Def file \"" + node.String() + "\" was not found";
return testAnimation(node.String(), node.meta);
}
std::string animationFile(const JsonNode & node)