removed initial capacity to List and ArrayList where inappropriate
This commit is contained in:
parent
e15ed963d8
commit
a8acb6bd9d
7 changed files with 100 additions and 110 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue