ugly mistakes

This commit is contained in:
mark 2006-06-15 06:31:52 +00:00
parent ab1f707545
commit e67388dda3
2 changed files with 2 additions and 2 deletions

View file

@ -192,7 +192,7 @@ namespace Server.Commands
public static string GetFileName( string root, string name, string ext )
{
if ( name.IndexOfAny( ReplaceChars ) ) {
if ( name.IndexOfAny( ReplaceChars ) >= 0 ) {
StringBuilder sb = new StringBuilder( name );
for ( int i = 0; i < ReplaceChars.Length; ++i ) {

View file

@ -545,7 +545,7 @@ namespace Server
public Direction Direction{ get{ return m_Direction; } }
public bool Blocked{ get{ return m_Blocked; } set{ m_Blocked = value; } }
private static Queue m_Pool<MovementEventArgs> = new Queue<MovementEventArgs>();
private static Queue<MovementEventArgs> m_Pool = new Queue<MovementEventArgs>();
public static MovementEventArgs Create( Mobile mobile, Direction dir )
{