mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-24 15:02:27 +00:00
Remove resolved TODO
This commit is contained in:
parent
a755fa0f34
commit
0c37a64a84
@ -655,9 +655,6 @@ namespace MWLua
|
|||||||
// spell), we still need to use the active spells store to purge this effect from active spells.
|
// spell), we still need to use the active spells store to purge this effect from active spells.
|
||||||
auto ptr = effects.mActor.ptr();
|
auto ptr = effects.mActor.ptr();
|
||||||
|
|
||||||
// TODO: The current ActiveSpell API does not allow us to differentiate between skill/attribute parameters
|
|
||||||
// of effects. So this cannot remove e.g. "Fortify Luck" without also removing all other fortify attribute
|
|
||||||
// effects such as "Fortify Speed".
|
|
||||||
auto& activeSpells = ptr.getClass().getCreatureStats(ptr).getActiveSpells();
|
auto& activeSpells = ptr.getClass().getCreatureStats(ptr).getActiveSpells();
|
||||||
activeSpells.purgeEffect(ptr, key.mId, key.mArg);
|
activeSpells.purgeEffect(ptr, key.mId, key.mArg);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user