From e37ab8471fcc8761a0d4a4954918ec4c679ed1bb Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Wed, 2 Jul 2008 14:39:19 +0000 Subject: Only apply targeting via monster list to spells and such where targeting monsters is actually needed. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6338 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/directn.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/directn.h') diff --git a/crawl-ref/source/directn.h b/crawl-ref/source/directn.h index b6cbd52bed..d071ab28ec 100644 --- a/crawl-ref/source/directn.h +++ b/crawl-ref/source/directn.h @@ -150,7 +150,8 @@ 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, - const char *prompt = NULL, targeting_behaviour *mod = NULL ); + bool may_target_monster = true, const char *prompt = NULL, + targeting_behaviour *mod = NULL ); bool in_los_bounds(int x, int y); bool in_viewport_bounds(int x, int y); -- cgit v1.2.3-54-g00ecf