summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-13 21:53:18 +0300
committerVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-13 21:55:29 +0300
commitc27779f9fc2954eb86537e540644a20212fd22ad (patch)
treee190524075db632627fbd9861bbed51c1eed3560
parente25e8110f38f001e416010e52f9737117659e9cd (diff)
downloadcrawl-ref-c27779f9fc2954eb86537e540644a20212fd22ad.tar.gz
crawl-ref-c27779f9fc2954eb86537e540644a20212fd22ad.zip
Redraw quiver even if an item that was unquivered is only awkwardly throwable.
-rw-r--r--crawl-ref/source/quiver.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/crawl-ref/source/quiver.cc b/crawl-ref/source/quiver.cc
index 28dcc4f6ca..9791173a8e 100644
--- a/crawl-ref/source/quiver.cc
+++ b/crawl-ref/source/quiver.cc
@@ -283,13 +283,6 @@ void player_quiver::on_weapon_changed()
void player_quiver::on_inv_quantity_changed(int slot, int amt)
{
- const launch_retval projected = is_launched(&you, you.weapon(),
- you.inv[slot]);
-
- // Don't do anything if this item is not throwable.
- if (projected == LRET_FUMBLED)
- return;
-
if (m_last_used_of_type[m_last_used_type].base_type == OBJ_UNASSIGNED)
{
// Empty quiver. Maybe we can fill it now?