OSDN Git Service

透明な壁が暗黒光源で削れて見えるのを防ぐため, REMEMBER地形が暗黒光源
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 14 Dec 2003 06:06:17 +0000 (06:06 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 14 Dec 2003 06:06:17 +0000 (06:06 +0000)
で未知の地形のように表示される条件をLOS && PROJECTと変更.

src/cave.c

index c35c88f..39fd50e 100644 (file)
@@ -1039,7 +1039,7 @@ void map_info(int y, int x, byte *ap, char *cp, byte *tap, char *tcp)
                        /* Mega-Hack -- Handle "in-sight" and "darkened" grids */
                        else if (darkened_grid(c_ptr) && !p_ptr->blind)
                        {
-                               if (have_flag(f_ptr->flags, FF_LOS))
+                               if (have_flag(f_ptr->flags, FF_LOS) && have_flag(f_ptr->flags, FF_PROJECT))
                                {
                                        /* Unsafe cave grid -- idea borrowed from Unangband */
                                        feat = (view_unsafe_grids && (c_ptr->info & CAVE_UNSAFE)) ? FEAT_UNDETECTED : FEAT_NONE;