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
+1 -2
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)