lots of little stuff, but mostly bank optimization, due to the weirdness of the calls

This commit is contained in:
mark 2007-01-19 22:10:11 +00:00
parent 566de1c2cf
commit f95101c201
29 changed files with 214 additions and 282 deletions

View file

@ -215,7 +215,7 @@ namespace Server.Items
{
from.SendLocalizedMessage( 1062089 ); // You cannot use that here.
}
else if ( from.BankBox == null || !from.BankBox.TryDropItem( from, item, false ) )
else if ( !from.BankBox.TryDropItem( from, item, false ) )
{
MessageHelper.SendLocalizedMessageTo( m_Bag, from, 1054110, 0x59 ); // Your bank box is full.
}