namelist fix, spell typo

This commit is contained in:
mark 2007-01-14 02:38:22 +00:00
parent 603f1bf8fe
commit e4818bfbfa
2 changed files with 3 additions and 3 deletions

View file

@ -30,13 +30,13 @@ namespace Server
m_List = xml.InnerText.Split( ',' );
for ( int i = 0; i < m_List.Length; ++i )
m_List[i] = Utility.Intern( m_List[i] );
m_List[i] = Utility.Intern( m_List[i].Trim() );
}
public string GetRandomName()
{
if ( m_List.Length > 0 )
return m_List[Utility.Random( m_List.Length )].Trim();
return m_List[Utility.Random( m_List.Length )];
return "";
}

View file

@ -82,7 +82,7 @@ namespace Server.Spells
}
}
contexts.Add( new DelayedDamageContext( target, type, timer );
contexts.Add( new DelayedDamageContext( target, type, timer ) );
}
public void RemoveDelayedDamageContext( Mobile target )