mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
commit
2e05b5a4ee
@ -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…
x
Reference in New Issue
Block a user