summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-05-17 20:47:55 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-05-17 21:23:15 +0200
commit9fdae32aae7b07e0d961c447d9589715bc7fdf20 (patch)
treebf59d9ede6345b6af53b22dacbfc178092705c2b /crawl-ref/source/directn.h
parent0ce0d23ceaf4a325e7d1fa0964b548f9ac37818a (diff)
downloadcrawl-ref-9fdae32aae7b07e0d961c447d9589715bc7fdf20.tar.gz
crawl-ref-9fdae32aae7b07e0d961c447d9589715bc7fdf20.zip
Fix incorrect darkening of range when a new-style targetter is used.
Old (beam) ranges use targetter_smite which is almost the same: it will mark scryed places as invalid. We can make it smarter (auto-hit beams, etc) later. Also, what's the reason Fedhas' spawn spores darkens view before showing the spores that will appear? It doesn't mark them differently from existing ones, it doesn't seem to do anything but hiding floor details. I did not migrate that behaviour to the new code -- should I?
Diffstat (limited to 'crawl-ref/source/directn.h')
-rw-r--r--crawl-ref/source/directn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/directn.h b/crawl-ref/source/directn.h
index 63b7a0f4ac..3b917ffafa 100644
--- a/crawl-ref/source/directn.h
+++ b/crawl-ref/source/directn.h
@@ -17,7 +17,7 @@
class range_view_annotator
{
public:
- range_view_annotator(int range);
+ range_view_annotator(targetter *range);
virtual ~range_view_annotator();
};