OSDN Git Service

迷宮での移動や記憶喪失等で床上のアイテムの位置を忘れると "触った" フ
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 16 Aug 2004 07:55:23 +0000 (07:55 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 16 Aug 2004 07:55:23 +0000 (07:55 +0000)
ラグまでリセットされていて, 1度 "触った" 魔法書などが再び雰囲気評価の
対象になっていたバグを修正.

src/cave.c

index e163283..6ed1a58 100644 (file)
@@ -4502,7 +4502,7 @@ void wiz_dark(void)
                if (o_ptr->held_m_idx) continue;
 
                /* Forget the object */
-               o_ptr->marked = 0;
+               o_ptr->marked &= OM_TOUCHED;
        }
 
        /* Mega-Hack -- Forget the view and lite */