OSDN Git Service

分解属性でOBJECT地形を壊す処理を鏡に限定してしまっており, 回避の彫像
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 1 Aug 2004 02:19:13 +0000 (02:19 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 1 Aug 2004 02:19:13 +0000 (02:19 +0000)
や爆発のルーンが壊れなかったバグを修正.

src/spells1.c

index 8ff230a..90b4b1d 100644 (file)
@@ -1177,8 +1177,9 @@ static bool project_f(int who, int r, int y, int x, int dam, int typ)
 
                case GF_DISINTEGRATE:
                {
 
                case GF_DISINTEGRATE:
                {
-                       /* Destroy mirror */
-                       if (is_mirror_grid(c_ptr)) remove_mirror(y, x);
+                       /* Destroy mirror/glyph */
+                       if (is_mirror_grid(c_ptr) || is_glyph_grid(c_ptr) || is_explosive_rune_grid(c_ptr))
+                               remove_mirror(y, x);
 
                        /* Permanent features don't get effect */
                        /* But not protect monsters and other objects */
 
                        /* Permanent features don't get effect */
                        /* But not protect monsters and other objects */