OSDN Git Service

'l'でモンスターなどの下の地形を "...は...の上に" と表示するかどうかの
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 14 Dec 2003 12:27:23 +0000 (12:27 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 14 Dec 2003 12:27:23 +0000 (12:27 +0000)
判定にFEAT_INVISが使われていたので, REMEMBERの有無に置き換えた.

src/xtra2.c

index adc34a3..efce385 100644 (file)
@@ -3483,7 +3483,7 @@ static int target_set_aux(int y, int x, int mode, cptr info)
        f_ptr = &f_info[feat];
 
        /* Terrain feature if needed */
-       if (boring || (feat > FEAT_INVIS))
+       if (boring || have_flag(f_ptr->flags, FF_REMEMBER))
        {
                cptr name;