summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godwrath.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-03 23:32:37 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-05 05:14:16 +0100
commitbfccd69dc6f11e2a37f96a5b2b8cb07f956404a9 (patch)
tree9dc5dadfc054e90148a0d33142aad9332521a4b2 /crawl-ref/source/godwrath.cc
parent5fd963b57e3ae748b0644243424a569f67560d81 (diff)
downloadcrawl-ref-bfccd69dc6f11e2a37f96a5b2b8cb07f956404a9.tar.gz
crawl-ref-bfccd69dc6f11e2a37f96a5b2b8cb07f956404a9.zip
Get rid of all external uses of get_los().
This also fixes a bunch of "act through glass" or "doesn't obey nightstalker/ lantern of shadows" bugs.
Diffstat (limited to 'crawl-ref/source/godwrath.cc')
-rw-r--r--crawl-ref/source/godwrath.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/godwrath.cc b/crawl-ref/source/godwrath.cc
index 5845b82065..d7677d87be 100644
--- a/crawl-ref/source/godwrath.cc
+++ b/crawl-ref/source/godwrath.cc
@@ -450,7 +450,7 @@ static bool _kikubaaqudgha_retribution()
if (random2(you.experience_level) > 4)
{
// Either zombies, or corpse rot + skeletons.
- kiku_receive_corpses(you.experience_level * 4, you.pos());
+ kiku_receive_corpses(you.experience_level * 4);
if (coinflip())
corpse_rot(&you);