namelist fix, spell typo
This commit is contained in:
parent
603f1bf8fe
commit
e4818bfbfa
2 changed files with 3 additions and 3 deletions
|
|
@ -30,13 +30,13 @@ namespace Server
|
||||||
m_List = xml.InnerText.Split( ',' );
|
m_List = xml.InnerText.Split( ',' );
|
||||||
|
|
||||||
for ( int i = 0; i < m_List.Length; ++i )
|
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()
|
public string GetRandomName()
|
||||||
{
|
{
|
||||||
if ( m_List.Length > 0 )
|
if ( m_List.Length > 0 )
|
||||||
return m_List[Utility.Random( m_List.Length )].Trim();
|
return m_List[Utility.Random( m_List.Length )];
|
||||||
|
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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 )
|
public void RemoveDelayedDamageContext( Mobile target )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue