summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.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/command.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/command.cc')
-rw-r--r--crawl-ref/source/command.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index dcdb6e831e..bfe6ace2f1 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -681,8 +681,7 @@ void list_weapons(void)
// Now we print out the current default fire weapon.
wstring = "Firing : ";
- std::string error_reason;
- int slot = you.m_quiver->get_fire_item(&error_reason);
+ int slot = you.m_quiver->get_fire_item();
colour = MSGCOL_BLACK;
if (slot == -1)