summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-07-10 21:46:33 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-07-10 22:57:30 -0700
commit669a9351b1e232fa47eb3a28897d14643db62eb8 (patch)
tree8bf4649c2ecf63b4d17c609778119d9db8df478c /crawl-ref/source/command.cc
parent94659acff8f46a088507c1675e61fdf1d7f1418d (diff)
downloadcrawl-ref-669a9351b1e232fa47eb3a28897d14643db62eb8.tar.gz
crawl-ref-669a9351b1e232fa47eb3a28897d14643db62eb8.zip
Display weapon damage on ammo
Now that it actually means something reasonable comprehensible. Also refactor some related mulch-description code.
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r--crawl-ref/source/command.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index 557f3b6acc..983d536f7a 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -1197,10 +1197,9 @@ static int _do_description(string key, string type, const string &suffix,
append_armour_stats(desc, mitm[thing_created]);
desc += "\n";
}
- else if (get_item_by_name(&mitm[thing_created], name, OBJ_MISSILES)
- && mitm[thing_created].sub_type != MI_THROWING_NET)
+ else if (get_item_by_name(&mitm[thing_created], name, OBJ_MISSILES))
{
- append_missile_info(desc);
+ append_missile_info(desc, mitm[thing_created]);
desc += "\n";
}
else if (type == "spell"