summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/directn.h')
-rw-r--r--crawl-ref/source/directn.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/directn.h b/crawl-ref/source/directn.h
index 557962186f..c890d4aa1a 100644
--- a/crawl-ref/source/directn.h
+++ b/crawl-ref/source/directn.h
@@ -150,8 +150,9 @@ struct dist
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, bool cancel_at_self = false );
+ bool may_target_monster = true, bool may_target_self = false,
+ const char *prompt = 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);