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

@ -78,7 +78,7 @@ namespace Server.Items
public override void OnDoubleClick( Mobile from )
{
BankBox box = from.BankBox;
BankBox box = from.FindBankNoCreate();
if ( box != null && IsChildOf( box ) )
{

View file

@ -392,7 +392,7 @@ namespace Server.Items
writer.Write( count );
for ( int i = 0; i < list.Count; ++i )
for ( int i = 0; i < count; ++i )
{
KeyValuePair<Item, Point3D> kvp = list[i];
Item item = kvp.Key;