mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Code refactor following C++ standard and condition fixes
This commit is contained in:
@ -572,7 +572,7 @@ void AObjectTypeHandler::addTemplate(JsonNode config)
|
||||
auto tmpl = new ObjectTemplate;
|
||||
tmpl->id = Obj(type);
|
||||
tmpl->subid = subtype;
|
||||
tmpl->stringID = ""; // TODO?
|
||||
tmpl->stringID.clear(); // TODO?
|
||||
tmpl->readJson(config);
|
||||
templates.emplace_back(tmpl);
|
||||
}
|
||||
|
Reference in New Issue
Block a user