Просмотр исходного кода

Fixed https://bugs.vcmi.eu/view.php?id=2817

AlexVinS 8 лет назад
Родитель
Сommit
97d73f47b0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      client/gui/CAnimation.cpp

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