summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-11 12:31:08 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-11 12:31:08 +0000
commit5da77fd18ee63339cbb9fba9b23a04188b08c6e5 (patch)
tree44d5b4b73956cc1344a75e54ce83248635330d5b /crawl-ref/source/directn.h
parentf16aa92587a0f06bce2bcd70e0b364e0947cb8ca (diff)
downloadcrawl-ref-5da77fd18ee63339cbb9fba9b23a04188b08c6e5.tar.gz
crawl-ref-5da77fd18ee63339cbb9fba9b23a04188b08c6e5.zip
Fix 2015315 by not even bothering to prompt for spells with the
SPFLAG_NOT_SELF flag. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6492 c06c8d41-db1a-0410-9941-cceddc491573
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 d071ab28ec..557962186f 100644
--- a/crawl-ref/source/directn.h
+++ b/crawl-ref/source/directn.h
@@ -151,7 +151,7 @@ void direction( dist &moves, targeting_type restricts = DIR_NONE,
targ_mode_type mode = TARG_ANY, int range = -1,
bool just_looking = false, bool needs_path = true,
bool may_target_monster = true, const char *prompt = NULL,
- targeting_behaviour *mod = NULL );
+ targeting_behaviour *mod = NULL, bool cancel_at_self = false );
bool in_los_bounds(int x, int y);
bool in_viewport_bounds(int x, int y);