summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/potion.cc
diff options
context:
space:
mode:
authorImmotian <Immotian@yahoo.com>2013-12-29 18:23:45 -0800
committerNeil Moore <neil@s-z.org>2013-12-30 16:32:08 -0500
commit0f97eb19f4361653d9426d71b968a6bef6132b29 (patch)
treef5324da0aeafc30cf54edae318cde81cb1d94771 /crawl-ref/source/potion.cc
parent06d0eecfd7c873ab0a4c1d6258d91d8e542b2641 (diff)
downloadcrawl-ref-0f97eb19f4361653d9426d71b968a6bef6132b29.tar.gz
crawl-ref-0f97eb19f4361653d9426d71b968a6bef6132b29.zip
Identify last unknown targetted scroll and healing potion
... when you know what they are. Specifically, you know what they are when it has been tried (so you know it is in one of those categories) and when all the others in that category are identified. This should probably be extended to nontargetted scrolls, mainly for ?CW for Mo, and for the last unidentified scroll and last unidentified potion. [With spelling changes to reflect 0.14-a0-1407-g9ff65a6 -nfm]
Diffstat (limited to 'crawl-ref/source/potion.cc')
-rw-r--r--crawl-ref/source/potion.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/potion.cc b/crawl-ref/source/potion.cc
index 0ae1b8205c..20523d895a 100644
--- a/crawl-ref/source/potion.cc
+++ b/crawl-ref/source/potion.cc
@@ -530,6 +530,7 @@ bool potion_effect(potion_type pot_eff, int pow, item_def *potion, bool was_know
set_ident_flags(*potion, ISFLAG_IDENT_MASK);
set_ident_type(*potion, ID_KNOWN_TYPE);
mprf("It was a %s.", potion->name(DESC_QUALNAME).c_str());
+ identify_healing_pots();
}
return true;