summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.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/spl-util.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/spl-util.h')
-rw-r--r--crawl-ref/source/spl-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h
index f245210455..b2dd736b7c 100644
--- a/crawl-ref/source/spl-util.h
+++ b/crawl-ref/source/spl-util.h
@@ -132,7 +132,7 @@ bool spell_direction( dist &spelld, bolt &pbolt,
targeting_type restrict = DIR_NONE,
targ_mode_type mode = TARG_ENEMY,
bool needs_path = true, bool may_target_monster = true,
- const char *prompt = NULL );
+ const char *prompt = NULL, bool cancel_at_self = false );
void apply_area_cloud(int (*func) (int, int, int, int, cloud_type,
kill_category),