mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-16 16:06:23 -04:00
Fix SummonKey comparison function
This commit is contained in:
parent
53e581fe10
commit
9f1fbd56a3
@ -39,9 +39,13 @@ namespace ESM
|
|||||||
{
|
{
|
||||||
if (mEffectId < other.mEffectId)
|
if (mEffectId < other.mEffectId)
|
||||||
return true;
|
return true;
|
||||||
|
if (mEffectId > other.mEffectId)
|
||||||
|
return false;
|
||||||
|
|
||||||
if (mSourceId < other.mSourceId)
|
if (mSourceId < other.mSourceId)
|
||||||
return true;
|
return true;
|
||||||
|
if (mSourceId > other.mSourceId)
|
||||||
|
return false;
|
||||||
|
|
||||||
return mEffectIndex < other.mEffectIndex;
|
return mEffectIndex < other.mEffectIndex;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user