From 7835c23d948cd17890d8e2c3696bab916bce5ee0 Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Sat, 23 Jul 2016 19:16:56 +1000 Subject: [PATCH] Always show wall glyphs as connected to adjacent walls, even if you haven't seen the adjacent cell yet. --- map.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/map.c b/map.c index a73ae47..bfbf428 100644 --- a/map.c +++ b/map.c @@ -1009,7 +1009,10 @@ void adjustcellglyph(cell_t *c, glyph_t *g, enum CELLADJUSTTYPE how) { } } - if (c2->known && (typematches || hasdoor(c2)) ) { + // TODO: if it's a secret door, pretend it's a wall + // if you don't know it. + //if (c2->known && (typematches || hasdoor(c2)) ) { + if (typematches || hasdoor(c2)) { this = 1; ndirslinked++; // we want: