summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/throw.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-07-01 08:34:17 -0400
committerNeil Moore <neil@s-z.org>2014-07-01 08:59:41 -0400
commit6d030cf17a1be95e9fbb2d1137c97e445c14f1f1 (patch)
treee54a3236057f05fbf6333f09a5dc0e857e828b86 /crawl-ref/source/throw.h
parent6c5f5d6e7898dc71897cd76810add32b426df2d6 (diff)
downloadcrawl-ref-6d030cf17a1be95e9fbb2d1137c97e445c14f1f1.tar.gz
crawl-ref-6d030cf17a1be95e9fbb2d1137c97e445c14f1f1.zip
Let portal projectile work with non-quiver items (#8749)
It was possible to fire normal shots (saving MP, using penetration, etc) with F. I don't think this was intentional, and if that is desired there should be a toggle so the user doesn't have to tediously go through item selection every time.
Diffstat (limited to 'crawl-ref/source/throw.h')
-rw-r--r--crawl-ref/source/throw.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/throw.h b/crawl-ref/source/throw.h
index 5189614deb..0e37d57636 100644
--- a/crawl-ref/source/throw.h
+++ b/crawl-ref/source/throw.h
@@ -39,8 +39,7 @@ void throw_item_no_quiver();
bool silver_damages_victim(bolt &beam, actor* victim, int &dmg,
string &dmg_msg);
-bool throw_it(bolt &pbolt, int throw_2, bool teleport = false,
- int acc_bonus = 0, dist *target = NULL);
+bool throw_it(bolt &pbolt, int throw_2, dist *target = NULL);
bool thrown_object_destroyed(item_def *item, const coord_def& where);
int launcher_final_speed(const item_def &launcher,