mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
fix to prev. revision
This commit is contained in:
@@ -470,7 +470,7 @@ CArtifact * CArtHandler::loadArtifact(const JsonNode & node)
|
|||||||
art->setDescription (text["description"].String());
|
art->setDescription (text["description"].String());
|
||||||
art->setName (text["event"].String());
|
art->setName (text["event"].String());
|
||||||
|
|
||||||
const JsonNode & graphics = graphics["text"];
|
const JsonNode & graphics = node["graphics"];
|
||||||
art->iconIndex = graphics["iconIndex"].Float();
|
art->iconIndex = graphics["iconIndex"].Float();
|
||||||
art->image = graphics["image"].String();
|
art->image = graphics["image"].String();
|
||||||
value = &graphics["large"];
|
value = &graphics["large"];
|
||||||
|
Reference in New Issue
Block a user