mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Merge pull request #3002 from akortunov/multiple_effects
Fix SummonKey comparison function
This commit is contained in:
commit
bf1c4c7af3
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user