mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-25 12:41:01 +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
This commit is contained in:
commit
8ec8e733a1
@ -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…
x
Reference in New Issue
Block a user