diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-06 14:12:01 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-06 14:12:01 +0000 |
commit | 527145300902fc9a74574b6188814abb05473acb (patch) | |
tree | d6ea3ca27ba8ed11846fecf176ac094c69a702d4 /crawl-ref/source/spl-cast.cc | |
parent | 75ac5233e92cd1ab525553cb736a92356a136574 (diff) | |
download | crawl-ref-527145300902fc9a74574b6188814abb05473acb.tar.gz crawl-ref-527145300902fc9a74574b6188814abb05473acb.zip |
Fix [2011576]: The "Which direction?" prompt is no longer given twice
for spells that are wrappers around burn_freeze() (e.g. Freeze).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6425 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index 024c1af344..42d8de5c5f 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -996,7 +996,10 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) // there are others that do their own that will be missed by this // (and thus will not properly ESC without cost because of it). // Hopefully, those will eventually be fixed. -- bwr - if ((flags & SPFLAG_TARGETING_MASK) && spell != SPELL_PORTAL_PROJECTILE) + if ((flags & SPFLAG_TARGETING_MASK) + && spell != SPELL_BURN && spell != SPELL_FREEZE + && spell != SPELL_CRUSH && spell != SPELL_ARC + && spell != SPELL_PORTAL_PROJECTILE) { targ_mode_type targ = (testbits(flags, SPFLAG_HELPFUL) ? TARG_FRIEND : TARG_ENEMY); |