some bk_glyph code iflags.use_background_glyph only

This commit is contained in:
nhmall
2015-06-12 07:10:46 -04:00
parent 017e826837
commit 23cbe049be
+2 -1
View File
@@ -1710,6 +1710,7 @@ xchar x, y;
int idx, bkglyph = NO_GLYPH; int idx, bkglyph = NO_GLYPH;
struct rm *lev = &levl[x][y]; struct rm *lev = &levl[x][y];
if (iflags.use_background_glyph) {
switch (lev->typ) { switch (lev->typ) {
case SCORR: case SCORR:
case STONE: case STONE:
@@ -1749,7 +1750,7 @@ xchar x, y;
if (idx != S_room) if (idx != S_room)
bkglyph = cmap_to_glyph(idx); bkglyph = cmap_to_glyph(idx);
}
return bkglyph; return bkglyph;
} }