OSDN Git Service

CHAR_CLEARで色のあるモンスターが未知の地形等の文字' 'の地形にいる場合
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 13 Jun 2003 11:00:48 +0000 (11:00 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 13 Jun 2003 11:00:48 +0000 (11:00 +0000)
は, そのモンスターの設定文字を使うように変更.

src/cave.c

index b990649..0a7a46c 100644 (file)
@@ -1486,7 +1486,7 @@ void map_info(int y, int x, byte *ap, char *cp)
                                        }
 
                                        /***  Monster's char  ***/
-                                       if ((r_ptr->flags1 & RF1_CHAR_CLEAR) && !use_graphics)
+                                       if ((r_ptr->flags1 & RF1_CHAR_CLEAR) && (*cp != ' ') && !use_graphics)
                                        {
                                                /* Clear-char */
                                                /* Do nothing */