OSDN Git Service

CAVE_OBJECTはcharacter_dungeonで意味が変わるので修正.
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 28 Nov 2003 10:03:06 +0000 (10:03 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 28 Nov 2003 10:03:06 +0000 (10:03 +0000)
src/cave.c

index b1e1ccb..5c376a2 100644 (file)
@@ -4419,7 +4419,7 @@ void cave_set_feat(int y, int x, int feat)
        cave_type *c_ptr = &cave[y][x];
        feature_type *f_ptr = &f_info[feat];
 
-       if (is_mirror_grid(c_ptr) && (d_info[dungeon_type].flags1 & DF1_DARKNESS))
+       if (character_dungeon && is_mirror_grid(c_ptr) && (d_info[dungeon_type].flags1 & DF1_DARKNESS))
        {
                c_ptr->info &= ~(CAVE_GLOW);
                if (!view_torch_grids) c_ptr->info &= ~(CAVE_MARK);