mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-23 14:09:42 +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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue