diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-14 18:56:47 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-14 18:56:47 +0000 |
commit | b871ff5c1c4ae1e0fd4e27a84ca7dbcdc2eec539 (patch) | |
tree | 97bccbbd3bee3a135205df6a507cfcf4bd6c3d59 /crawl-ref/source/spells3.h | |
parent | 0282f209e8d708396f20c99e8b212cfa488aca37 (diff) | |
download | crawl-ref-b871ff5c1c4ae1e0fd4e27a84ca7dbcdc2eec539.tar.gz crawl-ref-b871ff5c1c4ae1e0fd4e27a84ca7dbcdc2eec539.zip |
Move spell targeting before miscast check. Not everything is moved - spells
with weird targeting (like Conjure Flame) still target after the miscast check.
Tweaked targeting prompt slightly.
Don't dock turn for zapping non-wand.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1039 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells3.h')
-rw-r--r-- | crawl-ref/source/spells3.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/spells3.h b/crawl-ref/source/spells3.h index 9eea54e646..8d8a77e1b0 100644 --- a/crawl-ref/source/spells3.h +++ b/crawl-ref/source/spells3.h @@ -13,6 +13,8 @@ #define SPELLS3_H +struct dist; + // updated 24may2000 {dlb} /* *********************************************************************** * called from: spells1 - spells3 @@ -24,7 +26,7 @@ bool allow_control_teleport( bool silent = false ); /* *********************************************************************** * called from: spell * *********************************************************************** */ -int airstrike(int power); +int airstrike(int power, dist &beam); // updated 24may2000 {dlb} |