summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/quiver.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-04-15 14:59:48 +0200
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2011-04-15 15:01:03 +0200
commitad861fb791274a9d2a34b13ae3cd4116512b50c1 (patch)
tree565fdf335fd8e1cc994d6ce82dab9ad855aed7c3 /crawl-ref/source/quiver.cc
parent469748d69760a92d1ba22e08ef0d4717f624f6a7 (diff)
downloadcrawl-ref-ad861fb791274a9d2a34b13ae3cd4116512b50c1.tar.gz
crawl-ref-ad861fb791274a9d2a34b13ae3cd4116512b50c1.zip
Block the quiver commands for Felids.
Diffstat (limited to 'crawl-ref/source/quiver.cc')
-rw-r--r--crawl-ref/source/quiver.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/quiver.cc b/crawl-ref/source/quiver.cc
index dc690d05a6..b57c6778de 100644
--- a/crawl-ref/source/quiver.cc
+++ b/crawl-ref/source/quiver.cc
@@ -171,6 +171,11 @@ void quiver_item(int slot)
void choose_item_for_quiver()
{
+ if (you.species == SP_CAT)
+ {
+ mpr("You can't grasp things well enough to throw them.");
+ return;
+ }
int slot = prompt_invent_item("Quiver which item? (- for none, * to show all)",
MT_INVLIST,
OSEL_THROWABLE, true, true, true, '-',