summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-05 22:11:20 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-05 22:11:20 +0000
commitaff54353f3a6bbb21d059914413581d3ef324bbb (patch)
tree10dc9569d72d0f212c88e78bf4fdc1a13fd33e5c /crawl-ref/source/command.cc
parent4f824cd14b7f0d6f53c5a5f28ff8676bd35f261c (diff)
downloadcrawl-ref-aff54353f3a6bbb21d059914413581d3ef324bbb.tar.gz
crawl-ref-aff54353f3a6bbb21d059914413581d3ef324bbb.zip
Forward-port applicable fixes from 0.5 r9896 to trunk.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9897 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r--crawl-ref/source/command.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index bcee8f6413..fd9fa3b399 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -1392,7 +1392,8 @@ static bool _do_description(std::string key, std::string type,
append_armour_stats(desc, mitm[thing_created]);
desc += "$";
}
- else if (get_item_by_name(&mitm[thing_created], name, OBJ_MISSILES))
+ else if (get_item_by_name(&mitm[thing_created], name, OBJ_MISSILES)
+ && mitm[thing_created].sub_type != MI_THROWING_NET)
{
append_missile_info(desc);
desc += "$";