From 8737c38c8533b49950783a57bb566a00ce667c33 Mon Sep 17 00:00:00 2001 From: mark Date: Wed, 21 Jun 2006 01:50:46 +0000 Subject: [PATCH] stupid errors --- Scripts/Commands/Decorate.cs | 2 +- Scripts/Items/Misc/PublicMoongate.cs | 6 +++--- Scripts/Skills/Tracking.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Scripts/Commands/Decorate.cs b/Scripts/Commands/Decorate.cs index e24dc00ce..3beeae1d9 100644 --- a/Scripts/Commands/Decorate.cs +++ b/Scripts/Commands/Decorate.cs @@ -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 ) { diff --git a/Scripts/Items/Misc/PublicMoongate.cs b/Scripts/Items/Misc/PublicMoongate.cs index 29c19e067..7d8641d16 100644 --- a/Scripts/Items/Misc/PublicMoongate.cs +++ b/Scripts/Items/Misc/PublicMoongate.cs @@ -121,7 +121,7 @@ namespace Server.Items private static void DeleteAll() { - List list = new List(); + List list = new List(); 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 ); diff --git a/Scripts/Skills/Tracking.cs b/Scripts/Skills/Tracking.cs index 5864ca6cd..7e4a044f2 100644 --- a/Scripts/Skills/Tracking.cs +++ b/Scripts/Skills/Tracking.cs @@ -168,7 +168,7 @@ namespace Server.SkillHandlers int range = 10 + (int)(from.Skills[SkillName.Tracking].Value / 10); - ArrayList list = new ArrayList(); + List list = new List(); foreach ( Mobile m in from.GetMobilesInRange( range ) ) {