diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-03-01 22:24:34 -0700 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-03-01 22:29:12 -0700 |
commit | 8965cfaeaf5031f6bf24bdef5d686d4090f7f50c (patch) | |
tree | 14252cd35ab3e0389d661b00ba8aac6ebe601d3d /crawl-ref/source/spl-goditem.h | |
parent | 7bbdbfb4c8d38454437051ac89c9d7d541fb87a9 (diff) | |
download | crawl-ref-8965cfaeaf5031f6bf24bdef5d686d4090f7f50c.tar.gz crawl-ref-8965cfaeaf5031f6bf24bdef5d686d4090f7f50c.zip |
Finish making all scrolls read ID.
This includes identify, enchant armour, and recharging.
A lot of now-unnecessary code goes away with this.
Diffstat (limited to 'crawl-ref/source/spl-goditem.h')
-rw-r--r-- | crawl-ref/source/spl-goditem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-goditem.h b/crawl-ref/source/spl-goditem.h index a913ec7c1d..f921c763b2 100644 --- a/crawl-ref/source/spl-goditem.h +++ b/crawl-ref/source/spl-goditem.h @@ -1,7 +1,8 @@ #ifndef SPL_GODITEM_H #define SPL_GODITEM_H -int identify(int power, int item_slot = -1, string *pre_msg = NULL); +int identify(int power, int item_slot = -1, bool alreadyknown = true, + string *pre_msg = NULL); int cast_healing(int pow, int max_pow, bool divine_ability = false, const coord_def& where = coord_def(0, 0), bool not_self = false, targ_mode_type mode = TARG_NUM_MODES); |