Changeset 607

Show
Ignore:
Timestamp:
10/02/07 08:38:44 (1 year ago)
Author:
takkaria
Message:

Allow destroying items in the inventory.

Files:

Legend:

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

    r549 r607  
    226226        q = "Destroy which item? "; 
    227227        s = "You have nothing to destroy."; 
    228         if (!get_item(&item, q, s, (USE_INVEN | USE_FLOOR | CAN_SQUELCH))) return; 
     228        if (!get_item(&item, q, s, (USE_INVEN | USE_EQUIP | USE_FLOOR | CAN_SQUELCH))) return; 
    229229 
    230230        /* Deal with squelched items */