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:
parent
a59f0c23ce
commit
7106c5d1af
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user