mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Cleanup
This commit is contained in:
@@ -350,8 +350,7 @@ std::vector<JsonNode> CArtHandler::loadLegacyData()
|
||||
{
|
||||
if(parser.readString() == "x")
|
||||
{
|
||||
artData["slot"].Vector().push_back(JsonNode());
|
||||
artData["slot"].Vector().back().String() = artSlot;
|
||||
artData["slot"].Vector().emplace_back(artSlot);
|
||||
}
|
||||
}
|
||||
artData["class"].String() = classes.at(parser.readString()[0]);
|
||||
|
||||
Reference in New Issue
Block a user