From bba822c014fbc60a3839dc9d7ad4d563dec10758 Mon Sep 17 00:00:00 2001 From: Andrei Kortunov Date: Wed, 26 Apr 2017 17:18:06 +0400 Subject: [PATCH] Purge all effects with same ID instead only first (fixes #3839) --- apps/openmw/mwworld/inventorystore.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/openmw/mwworld/inventorystore.cpp b/apps/openmw/mwworld/inventorystore.cpp index fd7cb5d74..a6394757f 100644 --- a/apps/openmw/mwworld/inventorystore.cpp +++ b/apps/openmw/mwworld/inventorystore.cpp @@ -938,7 +938,6 @@ void MWWorld::InventoryStore::purgeEffect(short effectId, const std::string &sou mMagicEffects.add (*effectIt, -magnitude); params[i].mMultiplier = 0; - break; } } }