mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-05 00:49:09 +02:00
fix error with description
This commit is contained in:
@ -719,7 +719,7 @@ std::shared_ptr<CFaction> CTownHandler::loadFromJson(const std::string & scope,
|
|||||||
faction->identifier = identifier;
|
faction->identifier = identifier;
|
||||||
|
|
||||||
VLC->generaltexth->registerString(scope, faction->getNameTextID(), source["name"].String());
|
VLC->generaltexth->registerString(scope, faction->getNameTextID(), source["name"].String());
|
||||||
VLC->generaltexth->registerString(scope, faction->getDescriptionTranslated(), source["description"].String());
|
VLC->generaltexth->registerString(scope, faction->getDescriptionTextID(), source["description"].String());
|
||||||
|
|
||||||
faction->creatureBg120 = ImagePath::fromJson(source["creatureBackground"]["120px"]);
|
faction->creatureBg120 = ImagePath::fromJson(source["creatureBackground"]["120px"]);
|
||||||
faction->creatureBg130 = ImagePath::fromJson(source["creatureBackground"]["130px"]);
|
faction->creatureBg130 = ImagePath::fromJson(source["creatureBackground"]["130px"]);
|
||||||
|
Reference in New Issue
Block a user