summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/acr.cc3
-rw-r--r--crawl-ref/source/tilepick.cc4
2 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 3ffbe4947f..05ce0011cf 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -920,6 +920,9 @@ static void _do_wizard_command(int wiz_command, bool silent_fail)
mprf(MSGCH_DIAGNOSTICS, "Setting (%d,%d) to %s (%d)",
you.pos().x, you.pos().y, name.c_str(), feat);
grd(you.pos()) = feat;
+#ifdef USE_TILE
+ env.tile_flv[you.pos().x][you.pos().y].special = 0;
+#endif
}
break;
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc
index 997ba83d5d..0f065395dc 100644
--- a/crawl-ref/source/tilepick.cc
+++ b/crawl-ref/source/tilepick.cc
@@ -3755,6 +3755,10 @@ void tile_init_flavor()
env.tile_flv[x][y].special = 0;
}
}
+ else if (grd[x][y] == DNGN_SECRET_DOOR)
+ {
+ env.tile_flv[x][y].special = 0;
+ }
else if (bazaar && env.grid_colours[x][y] == baz_col
&& grd[x][y] == DNGN_FLOOR)
{