more fun stuff

This commit is contained in:
mark 2006-06-24 18:35:37 +00:00
parent 90c2233e4c
commit 6fcfced3fa
8 changed files with 31 additions and 39 deletions

View file

@ -432,20 +432,16 @@ namespace Server.Mobiles
private void UpgradeFromVersion0( object newVendorSystem )
{
ArrayList toRemove = new ArrayList();
List<Item> toRemove = new List<Item>();
foreach ( VendorItem vi in m_SellItems.Values )
{
if ( !CanBeVendorItem( vi.Item ) )
toRemove.Add( vi.Item );
else
vi.Description = Utility.FixHtml( vi.Description );
}
foreach ( Item item in toRemove )
{
RemoveVendorItem( item );
}
House = BaseHouse.FindHouseAt( this );