diff options
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r-- | crawl-ref/source/spells4.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc index e31a81a837..02ffc88846 100644 --- a/crawl-ref/source/spells4.cc +++ b/crawl-ref/source/spells4.cc @@ -37,6 +37,7 @@ #include "invent.h" #include "makeitem.h" #include "message.h" +#include "misc.h" #include "monplace.h" #include "monstuff.h" #include "mon-util.h" @@ -445,7 +446,7 @@ void cast_detect_secret_doors(int pow) if (grd[x][y] == DNGN_SECRET_DOOR && random2(pow) > random2(15)) { - grd[x][y] = DNGN_CLOSED_DOOR; + reveal_secret_door(x, y); found++; } } |