Changeset 292

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

Stop mentioning items found in rubble if they're squelchable. (closes #206)

Files:

Legend:

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

    r291 r292  
    11831183                                place_object(y, x, FALSE, FALSE); 
    11841184 
    1185                                 /* Observe new object */ 
    1186                                 if (player_can_see_bold(y, x)) 
     1185                                /* Observe the new object */ 
     1186                                if (!squelch_hide_item(&o_list[cave_o_idx[y][x]]) && 
     1187                                    player_can_see_bold(y, x)) 
    11871188                                { 
    11881189                                        msg_print("You have found something!");