diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-08 22:08:18 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-08 22:08:18 +0000 |
commit | b33d384a7fcbfdf0d8b48607819f303dafa54512 (patch) | |
tree | f437439b158b4a2565fe7378e6c5e613cb7b2db8 /crawl-ref/source/item_use.h | |
parent | 7e7c3ba3780f9daf9268bafcc488566bc2f21f93 (diff) | |
download | crawl-ref-b33d384a7fcbfdf0d8b48607819f303dafa54512.tar.gz crawl-ref-b33d384a7fcbfdf0d8b48607819f303dafa54512.zip |
Modify Portal Projectile to use the quiver interface, so you can now
choose your projectiles and are no longer prompted when "firing through"
friendlies. (FR 1816789)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5615 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.h')
-rw-r--r-- | crawl-ref/source/item_use.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.h b/crawl-ref/source/item_use.h index 311d687317..ed6aece344 100644 --- a/crawl-ref/source/item_use.h +++ b/crawl-ref/source/item_use.h @@ -105,7 +105,8 @@ bool remove_ring(int slot = -1, bool announce = false); * called from: acr * *********************************************************************** */ int get_next_fire_item(int current, int offset); -void fire_thing(int item=-1); +int get_ammo_to_shoot(int item, dist &target, bool teleport = false); +void fire_thing(int item = -1); // last updated 12may2000 {dlb} /* *********************************************************************** |