mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-26 06:40:22 +00:00
Merge pull request #1281 from akortunov/purgefix
Make InventoryStore::purgeEffect() purge all effects with argument ID instead only first
This commit is contained in:
commit
109bc3cb59
@ -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