OSDN Git Service

view_granite_liteもnew_ascii_graphicsもOFFの時に地上の端が壁に見える現象の修正.
author_nothere <_nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 19 May 2002 16:23:40 +0000 (16:23 +0000)
committer_nothere <_nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sun, 19 May 2002 16:23:40 +0000 (16:23 +0000)
src/cave.c

index f24777a..9fb4149 100644 (file)
@@ -877,7 +877,7 @@ void map_info(int y, int x, byte *ap, char *cp)
        c_ptr = &cave[y][x];
 
        /* Feature code */
-       feat = c_ptr->feat;
+       feat = c_ptr->mimic ? c_ptr->mimic : c_ptr->feat;
 
        /* Floors (etc) */
        if ((feat <= FEAT_INVIS) || (feat == FEAT_DIRT) || (feat == FEAT_GRASS))