Changeset 342

Show
Ignore:
Timestamp:
07/14/07 10:37:32 (1 year ago)
Author:
ajps
Message:

Fixed object detect a bit wrt the hide_squelchable option. Closes #249 AFAIConcerned.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/angband-3.0.8/src/spells2.c

    r329 r342  
    12091209 
    12101210                        /* Detect */ 
    1211                         detect = TRUE; 
     1211                        if (!squelch_hide_object(o_ptr)) 
     1212                                detect = TRUE; 
    12121213                } 
    12131214        } 
     
    12761277 
    12771278                        /* Detect */ 
    1278                         detect = TRUE; 
     1279                        if (!squelch_hide_object(o_ptr)) 
     1280                                detect = TRUE; 
    12791281                } 
    12801282        }