From e652b3eef0b937d35784299cd4412c97884136a4 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Thu, 30 Mar 2023 19:59:19 +0300 Subject: [PATCH] Removed old code - VCMI now supports json-based animations everywhere --- lib/JsonDetail.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/JsonDetail.cpp b/lib/JsonDetail.cpp index 083ec7dcb..8d64812cc 100644 --- a/lib/JsonDetail.cpp +++ b/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)