Browse Source

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

Ivan Savenko 2 years ago
parent
commit
e652b3eef0
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lib/JsonDetail.cpp

+ 1 - 2
lib/JsonDetail.cpp

@@ -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)