diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-02 16:30:26 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-04-02 16:30:26 +0000 |
commit | 3a448771f4f2b3a9b0f85869983a1482b7444e6d (patch) | |
tree | 0897d3ed8a98481eb9aba02b1ab3ce4d6c802e95 /crawl-ref/source/spl-cast.cc | |
parent | a8f9c9ba637b6fbf54528548d94a0b5aa02520ce (diff) | |
download | crawl-ref-3a448771f4f2b3a9b0f85869983a1482b7444e6d.tar.gz crawl-ref-3a448771f4f2b3a9b0f85869983a1482b7444e6d.zip |
Merge trunk into 0.2 branch for 0.2.1.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.2@1192 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 86d269dac8..eb39ad7953 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -880,6 +880,9 @@ int your_spells( int spc2, int powc, bool allow_fail ) testbits( flags, SPFLAG_GRID ) ? DIR_TARGET : testbits( flags, SPFLAG_DIR ) ? DIR_DIR : DIR_NONE); + if (dir == DIR_DIR) + mpr("Which direction? ", MSGCH_PROMPT); + if (spell_direction( spd, beam, dir, targ, get_spell_target_prompt(spc2) ) == -1) return (SPRET_ABORT); @@ -1315,7 +1318,7 @@ int your_spells( int spc2, int powc, bool allow_fail ) break; case SPELL_VAMPIRIC_DRAINING: - vampiric_drain(powc); + vampiric_drain(powc, spd); break; case SPELL_SUMMON_WRAITHS: |