mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 01:23:53 +00:00
Merge branch 'unique_summons' into 'master'
Mark summon effects as applied if they have spawned a creature Closes #6955 See merge request OpenMW/openmw!2316 (cherry picked from commit8ec8e733a1
)8b02c17a
Mark summon effects as applied if they have spawned a creature
This commit is contained in:
parent
b21c9cdf31
commit
b2d0b3da93
1 changed files with 1 additions and 0 deletions
|
@ -187,6 +187,7 @@ namespace MWWorld
|
||||||
if(effect.mEffectId == key.mEffectId && effect.mEffectIndex == key.mEffectIndex)
|
if(effect.mEffectId == key.mEffectId && effect.mEffectIndex == key.mEffectIndex)
|
||||||
{
|
{
|
||||||
effect.mArg = actorId;
|
effect.mArg = actorId;
|
||||||
|
effect.mFlags |= ESM::ActiveEffect::Flag_Applied | ESM::ActiveEffect::Flag_Remove;
|
||||||
found = true;
|
found = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue