Removes redundant delegate type declarations

This commit is contained in:
Kamron Batman 2018-09-14 14:32:04 -07:00
parent 3c9842ee5a
commit c85b0a740c
317 changed files with 898 additions and 903 deletions

View file

@ -11,7 +11,7 @@ namespace Server.SkillHandlers
{
public static void Initialize()
{
SkillInfo.Table[(int)SkillName.Tracking].Callback = new SkillUseCallback( OnUse );
SkillInfo.Table[(int)SkillName.Tracking].Callback = OnUse;
}
public static TimeSpan OnUse( Mobile m )
@ -125,10 +125,10 @@ namespace Server.SkillHandlers
private int m_Range;
private static TrackTypeDelegate[] m_Delegates = {
new TrackTypeDelegate( IsAnimal ),
new TrackTypeDelegate( IsMonster ),
new TrackTypeDelegate( IsHumanNPC ),
new TrackTypeDelegate( IsPlayer )
IsAnimal,
IsMonster,
IsHumanNPC,
IsPlayer
};
private class InternalSorter : IComparer<Mobile>