general cleanup, fixed a slightly improbably crash issue

This commit is contained in:
mark 2007-08-12 07:19:44 +00:00
parent 6780b3c2e7
commit b9e3476d8b
26 changed files with 62 additions and 67 deletions

View file

@ -178,7 +178,7 @@ namespace Server.Mobiles
writer.Write( (int)3 ); // version
writer.Write( m_IsDonationItem );
writer.Write( (bool)m_IsRewardItem );
writer.Write( m_IsRewardItem );
writer.Write( (int)m_MountedID );
writer.Write( (int)m_RegularID );

View file

@ -632,6 +632,9 @@ namespace Server.Mobiles
list.Sort( new BuyItemStateComparer() );
SendPacksTo( from );
if ( from.NetState == null )
return;
if ( from.NetState.IsPost6017 )
from.Send( new VendorBuyContent6017( list ) );