1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +00:00

Issue #256: changed implementation of MagicEffects::operator+=

This commit is contained in:
Marc Zinnschlag 2012-05-18 15:27:41 +02:00
parent 40c58c1bb7
commit 372efaafd7

View file

@ -99,9 +99,7 @@ namespace MWMechanics
Collection::iterator result = mCollection.find (iter->first);
if (result!=mCollection.end())
{
result->second.mMagnitude += iter->second.mMagnitude;
}
result->second += iter->second;
else
mCollection.insert (*iter);
}