summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-03 23:49:32 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-03 23:49:32 +0000
commit973e167e60d8c6dac9d4dc3c5bfc46afd36f0a01 (patch)
treee9704d774a7298270dd5140a8b82d58e1bdd86f3 /crawl-ref
parent19283b0b952522d1d019f22fcbd35294c13c235c (diff)
downloadcrawl-ref-973e167e60d8c6dac9d4dc3c5bfc46afd36f0a01.tar.gz
crawl-ref-973e167e60d8c6dac9d4dc3c5bfc46afd36f0a01.zip
Sanctuary now reveals all traps within its area, not just those in LOS.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6376 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/spells3.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 73d236e9dc..46f55f7692 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -1701,8 +1701,7 @@ bool cast_sanctuary(const int power)
}
if (trap_type_at_xy(posx, posy) != NUM_TRAPS
- && grd(pos) == DNGN_UNDISCOVERED_TRAP
- && see_grid(pos))
+ && grd(pos) == DNGN_UNDISCOVERED_TRAP)
{
const dungeon_feature_type type =
trap_category( trap_type_at_xy(posx, posy) );
@@ -1780,7 +1779,7 @@ bool cast_sanctuary(const int power)
} // radius loop
if (trap_count > 0)
- mpr("The flash of divine light reveals hidden traps!",
+ mpr("By Zin's power hidden traps are revealed to you.",
MSGCH_GOD);
if (cloud_count == 1)