1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 03:15:32 +00:00

Fix SummonKey comparison function

This commit is contained in:
Andrei Kortunov 2020-09-04 13:45:38 +04:00
parent 53e581fe10
commit 9f1fbd56a3

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;
}