1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-22 20:40:18 +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:
scrawl 2017-05-07 21:08:30 +02:00 committed by GitHub
commit 109bc3cb59

View file

@ -938,7 +938,6 @@ void MWWorld::InventoryStore::purgeEffect(short effectId, const std::string &sou
mMagicEffects.add (*effectIt, -magnitude);
params[i].mMultiplier = 0;
break;
}
}
}