mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-04 07:15:32 +00:00
commit
2e05b5a4ee
1 changed files with 1 additions and 2 deletions
|
@ -455,8 +455,7 @@ namespace MWMechanics
|
||||||
bool result;
|
bool result;
|
||||||
std::tie(mSpellList, result) = MWBase::Environment::get().getWorld()->getStore().getSpellList(actorId);
|
std::tie(mSpellList, result) = MWBase::Environment::get().getWorld()->getStore().getSpellList(actorId);
|
||||||
mSpellList->addListener(this);
|
mSpellList->addListener(this);
|
||||||
for(const auto& id : mSpellList->getSpells())
|
addAllToInstance(mSpellList->getSpells());
|
||||||
addSpell(SpellList::getSpell(id));
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue