소스 검색

fix to prev. revision

alexvins 13 년 전
부모
커밋
a8175c13bd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/CArtHandler.cpp

+ 1 - 1
lib/CArtHandler.cpp

@@ -470,7 +470,7 @@ CArtifact * CArtHandler::loadArtifact(const JsonNode & node)
 	art->setDescription	(text["description"].String());
 	art->setName		(text["event"].String());
 
-	const JsonNode & graphics = graphics["text"];
+	const JsonNode & graphics = node["graphics"];
 	art->iconIndex = graphics["iconIndex"].Float();
 	art->image = graphics["image"].String();
 	value = &graphics["large"];