general cleanup, fixed a slightly improbably crash issue
This commit is contained in:
parent
6780b3c2e7
commit
b9e3476d8b
26 changed files with 62 additions and 67 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
|
|
@ -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 ) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue