summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spl-util.cc')
-rw-r--r--crawl-ref/source/spl-util.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc
index e64c2f089f..ba2fb65d0d 100644
--- a/crawl-ref/source/spl-util.cc
+++ b/crawl-ref/source/spl-util.cc
@@ -782,13 +782,15 @@ void apply_area_cloud( int (*func) (int, int, int, int, cloud_type,
bool spell_direction( dist &spelld, bolt &pbolt,
targeting_type restrict, targ_mode_type mode,
bool needs_path, bool may_target_monster,
- const char *prompt, bool cancel_at_self )
+ bool may_target_self, const char *prompt,
+ bool cancel_at_self )
{
if (restrict != DIR_DIR)
message_current_target();
direction( spelld, restrict, mode, -1, false, needs_path,
- may_target_monster, prompt, NULL, cancel_at_self );
+ may_target_monster, may_target_self, prompt, NULL,
+ cancel_at_self );
if (!spelld.isValid)
{