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/direct.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/direct.h')
-rw-r--r-- | crawl-ref/source/direct.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/direct.h b/crawl-ref/source/direct.h index 015654bcac..8522b5d10b 100644 --- a/crawl-ref/source/direct.h +++ b/crawl-ref/source/direct.h @@ -24,7 +24,8 @@ * *********************************************************************** */ void direction( struct dist &moves, targeting_type restricts = DIR_NONE, - int mode = TARG_ANY, bool just_looking = false ); + int mode = TARG_ANY, bool just_looking = false, + const char *prompt = NULL ); bool in_los_bounds(int x, int y); bool in_viewport_bounds(int x, int y); |