From 30972f8855a581f440406e7bc5880f18a489efb4 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 28 Jul 2008 11:26:54 +0000 Subject: Fix 2021696: allow_self_target = no even forbidding self-targetting for area effect spells (now prompts) Fix 2028704: spell view toggle 'I' preventing forgetting spell slot 'I' Allow intelligent summoned monsters to equip themselves. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6703 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spl-util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/spl-util.h') diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h index 6bbbfdd9b8..315e84c697 100644 --- a/crawl-ref/source/spl-util.h +++ b/crawl-ref/source/spl-util.h @@ -116,7 +116,8 @@ 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, bool cancel_at_self = false ); + bool may_target_self = false, const char *prompt = NULL, + bool cancel_at_self = false ); void apply_area_cloud(int (*func) (int, int, int, int, cloud_type, kill_category), -- cgit v1.2.3-54-g00ecf