git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3668 c06c8d41-db1a-0410-9941-cceddc491573
WKGCRBVC45E5T6TKJ6BOLIJFRUF7IZBDHNUIBUXCCOIWKGJBEVCQC
grd[dc.x][dc.y] = DNGN_CLOSED_DOOR;
grd(dc) = DNGN_CLOSED_DOOR;
// Even if some of the door is out of LOS once it's closed (or even
// if some of it is out of LOS when it's open), we want the entire
// door to be updated.
// Should set_terrain_changed() be used, too?
if (is_terrain_seen(dc))
set_envmap_obj(dc.x, dc.y, DNGN_CLOSED_DOOR);