1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-29 01:11:34 +00:00

Merge pull request #3002 from akortunov/multiple_effects

Fix SummonKey comparison function
This commit is contained in:
Andrei Kortunov 2020-09-04 13:47:43 +04:00 committed by GitHub
commit bf1c4c7af3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,9 +39,13 @@ namespace ESM
{
if (mEffectId < other.mEffectId)
return true;
if (mEffectId > other.mEffectId)
return false;
if (mSourceId < other.mSourceId)
return true;
if (mSourceId > other.mSourceId)
return false;
return mEffectIndex < other.mEffectIndex;
}