stupid errors

This commit is contained in:
mark 2006-06-21 01:50:46 +00:00
parent 0db89cdb67
commit 8737c38c85
3 changed files with 5 additions and 5 deletions

View file

@ -417,7 +417,7 @@ namespace Server.Commands
}
else if ( item is BaseLight )
{
bool unlit, unprotected = false;
bool unlit = false, unprotected = false;
for ( int i = 0; i < m_Params.Length; ++i )
{

View file

@ -121,7 +121,7 @@ namespace Server.Items
private static void DeleteAll()
{
List<PublicMoongate> list = new List<PublicMoongate>();
List<Item> list = new List<Item>();
foreach ( Item item in World.Items.Values )
{
@ -129,8 +129,8 @@ namespace Server.Items
list.Add( item );
}
foreach ( PublicMoongate pmg in list )
pmg.Delete();
foreach ( Item item in list )
item.Delete();
if ( list.Count > 0 )
World.Broadcast( 0x35, true, "{0} moongates removed.", list.Count );

View file

@ -168,7 +168,7 @@ namespace Server.SkillHandlers
int range = 10 + (int)(from.Skills[SkillName.Tracking].Value / 10);
ArrayList list = new ArrayList();
List<Mobile> list = new List<Mobile>();
foreach ( Mobile m in from.GetMobilesInRange( range ) )
{