removed initial capacity to List and ArrayList where inappropriate

This commit is contained in:
krrios 2007-04-25 01:06:43 +00:00
parent e15ed963d8
commit a8acb6bd9d
7 changed files with 100 additions and 110 deletions

View file

@ -672,7 +672,7 @@ namespace Server.Mobiles
public virtual void AddPetFriend( Mobile m )
{
if ( m_Friends == null )
m_Friends = new List<Mobile>( 8 );
m_Friends = new List<Mobile>();
m_Friends.Add( m );
}