mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Fix loading of spell identifier
This commit is contained in:
parent
a59f0c23ce
commit
7106c5d1af
@ -804,6 +804,7 @@ CSpell * CSpellHandler::loadFromJson(const JsonNode & json, const std::string &
|
|||||||
using namespace SpellConfig;
|
using namespace SpellConfig;
|
||||||
|
|
||||||
CSpell * spell = new CSpell();
|
CSpell * spell = new CSpell();
|
||||||
|
spell->identifier = identifier;
|
||||||
|
|
||||||
const auto type = json["type"].String();
|
const auto type = json["type"].String();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user