mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-06 06:45:35 +00:00
Loop by const ref in activeSpells.add
This commit is contained in:
parent
ca3f89045c
commit
43b381f592
1 changed files with 1 additions and 1 deletions
|
@ -931,7 +931,7 @@ namespace MWLua
|
|||
if (stackable)
|
||||
params.setFlag(ESM::ActiveSpells::Flag_Stackable);
|
||||
|
||||
for (auto enam : enams)
|
||||
for (const ESM::IndexedENAMstruct& enam : enams)
|
||||
{
|
||||
const ESM::MagicEffect* mgef = esmStore.get<ESM::MagicEffect>().find(enam.mData.mEffectID);
|
||||
MWMechanics::ActiveSpells::ActiveEffect effect;
|
||||
|
|
Loading…
Reference in a new issue