diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-30 19:11:56 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-30 19:11:56 +0000 |
commit | a524209b16c1775a7367b76aec8e570bab9ad1c9 (patch) | |
tree | 3eabca034dee2b57b5d7a9924891aca006309f58 /crawl-ref/source/quiver.cc | |
parent | b91d5e9aed614ae968e0e9fa786f7d28951ae7c9 (diff) | |
download | crawl-ref-a524209b16c1775a7367b76aec8e570bab9ad1c9.tar.gz crawl-ref-a524209b16c1775a7367b76aec8e570bab9ad1c9.zip |
Don't offer the wielded weapon for quivering (even if throwable) since
you can't quiver it anyway.
Fix !porridge being highlighted as preferred food if unidentified.
Tweak change log a bit.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6259 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/quiver.cc')
-rw-r--r-- | crawl-ref/source/quiver.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/quiver.cc b/crawl-ref/source/quiver.cc index d6e52d5f36..da0ee0305b 100644 --- a/crawl-ref/source/quiver.cc +++ b/crawl-ref/source/quiver.cc @@ -144,8 +144,8 @@ void choose_item_for_quiver() { int slot = prompt_invent_item( "Quiver which item? (- for none, * to show all)", MT_INVLIST, - OSEL_THROWABLE, true, true, true, '-', -1, - NULL, OPER_QUIVER ); + OSEL_THROWABLE, true, true, true, '-', + you.equip[EQ_WEAPON], NULL, OPER_QUIVER ); if (slot == PROMPT_ABORT) { |