Changeset 445

Show
Ignore:
Timestamp:
08/05/07 01:26:18 (1 year ago)
Author:
ctate
Message:

No need to save/set/restore object_level around chest opening any more

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/cmd2.c

    r443 r445  
    207207        opening_chest = TRUE; 
    208208 
    209         /* Determine the "value" of the items */ 
    210         object_level = ABS(o_ptr->pval) + 10; 
    211  
    212209        /* Drop some objects (non-chests) */ 
    213210        for (; number > 0; --number) 
     
    236233                drop_near(i_ptr, -1, y, x); 
    237234        } 
    238  
    239         /* Reset the object level */ 
    240         object_level = p_ptr->depth; 
    241235 
    242236        /* No longer opening a chest */