diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-07 10:55:08 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-07 10:55:08 +0000 |
commit | 84b77bc1235f1b6103e1e660f3cd181f56af5da2 (patch) | |
tree | 1cdf31533952f501b3f84f5f0693b61ce8e19862 /crawl-ref/source/spells3.cc | |
parent | 431c988b90c49e9e37033ebbd94b3ebe21c3510d (diff) | |
download | crawl-ref-84b77bc1235f1b6103e1e660f3cd181f56af5da2.tar.gz crawl-ref-84b77bc1235f1b6103e1e660f3cd181f56af5da2.zip |
Get "The dead are walking!" message working for the arena.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8298 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index fb923da815..7119f0052e 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -876,7 +876,7 @@ bool animate_remains(const coord_def &a, corpse_type class_allowed, if (was_butchering) mpr("The corpse you are butchering rises to attack!"); - if (is_terrain_seen(a)) + if (see_grid(a)) mpr("The dead are walking!"); } @@ -948,7 +948,7 @@ int animate_dead(actor *caster, int pow, beh_type beha, unsigned short hitting, { number_raised++; - if (see_grid(env.show, you.pos(), a)) + if (see_grid(a)) number_seen++; if (was_butchering) |