OSDN Git Service

フオツフ、ヒツソ、、ネ豕モ、ャ、「、テ、ソノャ、ホス、タオ.
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Thu, 10 Jul 2003 09:48:16 +0000 (09:48 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Thu, 10 Jul 2003 09:48:16 +0000 (09:48 +0000)
src/cave.c

index dddbf11..ca9c170 100644 (file)
@@ -3285,7 +3285,7 @@ static void mon_dark_hack(int y, int x)
        c_ptr = &cave[y][x];
 
        /* Want a unlit and undarkened square in view of the player */
-       if ((c_ptr->info & (CAVE_LITE | CAVE_MNLT)) || ((c_ptr->info & (CAVE_MNDK | CAVE_VIEW)) != CAVE_VIEW)) return;
+       if ((c_ptr->info & (CAVE_LITE | CAVE_MNLT | CAVE_MNDK | CAVE_VIEW)) != CAVE_VIEW) return;
 
        if (!cave_floor_grid(c_ptr))
        {