OSDN Git Service

FORGETダンジョンでの行動後や記憶喪失などでwiz_dark()が呼ばれた場合は,
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 15 Jul 2003 06:03:27 +0000 (06:03 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 15 Jul 2003 06:03:27 +0000 (06:03 +0000)
CAVE_IN_DETECTを破棄しCAVE_UNSAFEを立て直すようにした. これにより,
FORGETダンジョンで'x'だけで歩いた道筋がわかるバグを修正.

src/cave.c

index ca9c170..eb4b4f7 100644 (file)
@@ -4852,7 +4852,8 @@ void wiz_dark(void)
                        cave_type *c_ptr = &cave[y][x];
 
                        /* Process the grid */
-                       c_ptr->info &= ~(CAVE_MARK);
+                       c_ptr->info &= ~(CAVE_MARK | CAVE_IN_DETECT);
+                       c_ptr->info |= (CAVE_UNSAFE);
                }
        }