generic town criers, misc generics, region cleanups, container generic, yadda yadda

This commit is contained in:
mark 2006-06-24 17:56:49 +00:00
parent 03adafb13e
commit 90c2233e4c
16 changed files with 114 additions and 167 deletions

View file

@ -200,17 +200,13 @@ namespace Server.Multis
m_InternalizeTimer = null;
}
ArrayList toRemove = new ArrayList();
List<Item> toRemove = new List<Item>();
foreach ( Item item in this.Items )
{
if ( item is PackingBox && item.Items.Count == 0 )
toRemove.Add( item );
}
foreach ( Item item in toRemove )
{
item.Delete();
}
if ( this.TotalItems == 0 )
Delete();