mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-01 13:20:29 +00:00
Purge all effects with same ID instead only first (fixes #3839)
This commit is contained in:
parent
80d1bb571c
commit
bba822c014
@ -938,7 +938,6 @@ void MWWorld::InventoryStore::purgeEffect(short effectId, const std::string &sou
|
|||||||
mMagicEffects.add (*effectIt, -magnitude);
|
mMagicEffects.add (*effectIt, -magnitude);
|
||||||
|
|
||||||
params[i].mMultiplier = 0;
|
params[i].mMultiplier = 0;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user