summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r--crawl-ref/source/command.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index fba62439ce..025ae033e4 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -490,8 +490,8 @@ void list_weapons(void)
wstring = "Secondary : ";
colour = MSGCOL_BLACK;
- if (is_valid_item( you.inv[i]) &&
- (you.inv[i].base_type == OBJ_WEAPONS
+ if (is_valid_item( you.inv[i])
+ && (you.inv[i].base_type == OBJ_WEAPONS
|| you.inv[i].base_type == OBJ_STAVES
|| you.inv[i].base_type == OBJ_MISCELLANY))
{