some bk_glyph code iflags.use_background_glyph only
This commit is contained in:
+2
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user