From 8af56c9f2d1a3e2ef9dbeae0b47263b47f00be42 Mon Sep 17 00:00:00 2001 From: dolorous Date: Fri, 11 Jul 2008 04:33:26 +0000 Subject: Apply trunk r6490 to 0.4. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6491 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/item_use.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 9eea4c276c..b71d76e7e4 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -2350,6 +2350,9 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus, if (wepClass == OBJ_MISSILES) { + // Identify ammo type. + set_ident_flags(you.inv[throw_2], ISFLAG_KNOW_TYPE); + switch (wepType) { case MI_LARGE_ROCK: -- cgit v1.2.3-54-g00ecf