more fun stuff
This commit is contained in:
parent
90c2233e4c
commit
6fcfced3fa
8 changed files with 31 additions and 39 deletions
|
|
@ -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 );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue