OSDN Git Service

ミミック系モンスターの色のコードはタイルモードで有効にならないように
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 1 Jun 2003 18:35:39 +0000 (18:35 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 1 Jun 2003 18:35:39 +0000 (18:35 +0000)
修正.

src/cave.c

index 8861188..be1ca02 100644 (file)
@@ -1441,11 +1441,13 @@ void map_info(int y, int x, byte *ap, char *cp)
                                        *cp = c;
 
                                        /* Mimics' colors vary */
-                                       if (((c == '\"') || (c == '!') || (c == '='))
-                                           && !(r_ptr->flags1 & RF1_UNIQUE))
+                                       if ((c == '\"') || (c == '!') || (c == '='))
                                        {
-                                               /* Use semi-random attr */
-                                               *ap = c_ptr->m_idx % 15 + 1;
+                                               if (!(r_ptr->flags1 & RF1_UNIQUE) && !use_graphics)
+                                               {
+                                                       /* Use semi-random attr */
+                                                       *ap = c_ptr->m_idx % 15 + 1;
+                                               }
                                        }
                                }