1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fix loading of spell identifier

This commit is contained in:
AlexVinS 2016-02-13 19:41:28 +03:00
parent a59f0c23ce
commit 7106c5d1af

View File

@ -804,6 +804,7 @@ CSpell * CSpellHandler::loadFromJson(const JsonNode & json, const std::string &
using namespace SpellConfig;
CSpell * spell = new CSpell();
spell->identifier = identifier;
const auto type = json["type"].String();