Changeset 879

Show
Ignore:
Timestamp:
05/04/08 12:52:43 (3 months ago)
Author:
ajps
Message:

Bugfixes for hide_squelchable still not hiding things properly. Fixes both cases currently listed in #579.

Files:

Legend:

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

    r810 r879  
    401401                /* Squelch chest if autosquelch calls for it */ 
    402402                p_ptr->notice |= PN_SQUELCH; 
     403 
     404                /* Redraw chest, to be on the safe side (it may have been squelched) */ 
     405                lite_spot(y, x); 
    403406        } 
    404407 
  • trunk/src/spells1.c

    r849 r879  
    20022002 
    20032003                                                /* Notice */ 
    2004                                                 if (o_ptr->marked
     2004                                                if (o_ptr->marked && !squelch_hide_item(o_ptr)
    20052005                                                { 
    20062006                                                        msg_print("Click!"); 
     
    20192019                { 
    20202020                        /* Effect "observed" */ 
    2021                         if (o_ptr->marked
     2021                        if (o_ptr->marked && !squelch_hide_item(o_ptr)
    20222022                        { 
    20232023                                obvious = TRUE; 
     
    20292029                        { 
    20302030                                /* Observe the resist */ 
    2031                                 if (o_ptr->marked
     2031                                if (o_ptr->marked && !squelch_hide_item(o_ptr)
    20322032                                { 
    20332033                                        msg_format("The %s %s unaffected!", 
     
    20402040                        { 
    20412041                                /* Describe if needed */ 
    2042                                 if (o_ptr->marked && note_kill
     2042                                if (o_ptr->marked && note_kill && !squelch_hide_item(o_ptr)
    20432043                                { 
    20442044                                        message_format(MSG_DESTROY, 0, "The %s%s", o_name, note_kill);