summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-28 11:26:54 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-28 11:26:54 +0000
commit30972f8855a581f440406e7bc5880f18a489efb4 (patch)
treed9f5f7e5e7d7e6cbffb6d579704b6cf61961b17b /crawl-ref/source/spells1.cc
parent69d26de6e5bbfb0746e85fe5f620960578cd79bf (diff)
downloadcrawl-ref-30972f8855a581f440406e7bc5880f18a489efb4.tar.gz
crawl-ref-30972f8855a581f440406e7bc5880f18a489efb4.zip
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
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index cf793e20d3..e7d1d3715b 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -104,7 +104,7 @@ int blink(int pow, bool high_level_controlled_blink, bool wizard_blink)
while (true)
{
direction(beam, DIR_TARGET, TARG_ANY, -1, false, false, false,
- "Blink to where?");
+ false, "Blink to where?");
if (!beam.isValid || coord_def(beam.target()) == you.pos())
{
@@ -687,7 +687,7 @@ static int _healing_spell(int healed, int target_x = -1, int target_y = -1)
spd.isValid = spell_direction(spd, beam, DIR_TARGET,
you.religion == GOD_ELYVILON ?
TARG_ANY : TARG_FRIEND,
- true, true, "Heal whom?");
+ true, true, true, "Heal whom?");
}
else
{