From 97d73f47b03fcad6d24ef2fcac331a5dc4283c1c Mon Sep 17 00:00:00 2001 From: AlexVinS Date: Fri, 3 Nov 2017 18:39:43 +0300 Subject: [PATCH] Fixed https://bugs.vcmi.eu/view.php?id=2817 --- client/gui/CAnimation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/gui/CAnimation.cpp b/client/gui/CAnimation.cpp index a7542418f..4ac0c5e11 100644 --- a/client/gui/CAnimation.cpp +++ b/client/gui/CAnimation.cpp @@ -1425,7 +1425,7 @@ void CAnimation::initFromJson(const JsonNode & config) { JsonNode toAdd(JsonNode::DATA_STRUCT); JsonUtils::inherit(toAdd, base); - toAdd["file"].String() = basepath + frame["file"].String(); + toAdd["file"].String() = basepath + frame.String(); source[groupID].push_back(toAdd); } }