More Cleanup from Code Analysis

This commit is contained in:
hondacrx
2017-06-24 18:41:58 -04:00
parent ad5ee77680
commit bfe5de0cfb
6 changed files with 13 additions and 11 deletions
+2 -2
View File
@@ -149,8 +149,8 @@ namespace Game.DataStorage
_curvePoints[curvePoint.CurveID].Add(curvePoint);
}
foreach (var key in _curvePoints.Keys)
_curvePoints[key].OrderBy(point => point.Index);
foreach (var key in _curvePoints.Keys.ToList())
_curvePoints[key] = _curvePoints[key].OrderBy(point => point.Index).ToList();
foreach (EmotesTextSoundRecord emoteTextSound in CliDB.EmotesTextSoundStorage.Values)
_emoteTextSounds[Tuple.Create((uint)emoteTextSound.EmotesTextId, emoteTextSound.RaceId, emoteTextSound.SexId, emoteTextSound.ClassId)] = emoteTextSound;