diff options
author | Immotian <Immotian@yahoo.com> | 2013-12-29 18:23:45 -0800 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2013-12-30 16:32:08 -0500 |
commit | 0f97eb19f4361653d9426d71b968a6bef6132b29 (patch) | |
tree | f5324da0aeafc30cf54edae318cde81cb1d94771 /crawl-ref/source/potion.cc | |
parent | 06d0eecfd7c873ab0a4c1d6258d91d8e542b2641 (diff) | |
download | crawl-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.cc | 1 |
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; |