Changeset 559

Show
Ignore:
Timestamp:
09/14/07 15:16:02 (1 year ago)
Author:
takkaria
Message:

Display a message when the player has nothing to sell to a store. (closes #382)

Files:

Legend:

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

    r556 r559  
    21192119 
    21202120        /* Get an item */ 
    2121         if (!get_item(&item, prompt, reject, (USE_EQUIP | USE_INVEN | USE_FLOOR))) return; 
     2121        if (!get_item(&item, prompt, reject, (USE_EQUIP | USE_INVEN | USE_FLOOR))) 
     2122        { 
     2123                store_flags |= STORE_KEEP_PROMPT; 
     2124                return; 
     2125        } 
    21222126 
    21232127        /* Get the item (in the pack) */