summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/quiver.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-13 11:16:17 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-13 11:16:17 +0000
commit3800d44b7952e7ae1f05b711ad46268dde11821d (patch)
tree0f3726a7ecc2ce8690b55ea91ad9cf3ac1f99d65 /crawl-ref/source/quiver.cc
parentdc024449143f2b6d6599bc41dabfbb3109a76999 (diff)
downloadcrawl-ref-3800d44b7952e7ae1f05b711ad46268dde11821d.tar.gz
crawl-ref-3800d44b7952e7ae1f05b711ad46268dde11821d.zip
Fix 2162827: tag length calculation was incorrect.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7230 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/quiver.cc')
-rw-r--r--crawl-ref/source/quiver.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/quiver.cc b/crawl-ref/source/quiver.cc
index 12b8d5a9ad..c1582ab6ff 100644
--- a/crawl-ref/source/quiver.cc
+++ b/crawl-ref/source/quiver.cc
@@ -294,8 +294,7 @@ void player_quiver::on_inv_quantity_changed(int slot, int amt)
else
{
// We might need to update the quiver...
- std::string error_reason;
- int qv_slot = get_fire_item(&error_reason);
+ int qv_slot = get_fire_item();
if (qv_slot == slot)
you.redraw_quiver = true;
}