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); } }