summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/quiver.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-29 13:31:45 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-29 13:31:45 +0000
commit8c38a749feba7593d146377ac6e4b090f8228e64 (patch)
tree6669be5ff4f09369c112a9414601eed81edc9d25 /crawl-ref/source/quiver.cc
parentd1a6e695915d4d649f3517f4c131f940c7aacc8f (diff)
downloadcrawl-ref-8c38a749feba7593d146377ac6e4b090f8228e64.tar.gz
crawl-ref-8c38a749feba7593d146377ac6e4b090f8228e64.zip
Fix good random secondary choices during character selection.
Re-enable quivering with '(' - still buggy, and I'm trying to work out why, but at least it works for some ammo now. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6218 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/quiver.cc')
-rw-r--r--crawl-ref/source/quiver.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/quiver.cc b/crawl-ref/source/quiver.cc
index 5f764b5eb5..8bf0761065 100644
--- a/crawl-ref/source/quiver.cc
+++ b/crawl-ref/source/quiver.cc
@@ -233,7 +233,10 @@ void player_quiver::on_item_fired(const item_def& item, bool explicitly_chosen)
// Don't do anything if this item is not really fit for throwing.
if (projected == LRET_FUMBLED)
return;
-
+#ifdef DEBUG_QUIVER
+ mprf(MSGCH_DIAGNOSTICS, "item %s is for throwing",
+ item.name(DESC_PLAIN).c_str());
+#endif
m_last_used_of_type[AMMO_THROW] = item;
m_last_used_of_type[AMMO_THROW].quantity = 1;
m_last_used_type = AMMO_THROW;