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