diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-17 09:15:53 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-17 09:15:53 +0000 |
commit | f3e9d4302bde27f1acf11a21b61d367eeeb574f9 (patch) | |
tree | fbdbe285e78cae289da8e4b592e7a6ddd6f68bec /crawl-ref/source/spells1.cc | |
parent | 1e056f2e741464486ae2d5bbe2c58f675fa3dcd5 (diff) | |
download | crawl-ref-f3e9d4302bde27f1acf11a21b61d367eeeb574f9.tar.gz crawl-ref-f3e9d4302bde27f1acf11a21b61d367eeeb574f9.zip |
Fixed 1616008, identify was not removing 'empty' inscription.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@645 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r-- | crawl-ref/source/spells1.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index 8e7eecc8e9..38373820a5 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -28,6 +28,7 @@ #include "beam.h" #include "cloud.h" #include "direct.h" +#include "effects.h" #include "invent.h" #include "it_use2.h" #include "itemname.h" @@ -413,7 +414,8 @@ void identify(int power) you.inv[item_slot].sub_type, ID_KNOWN_TYPE ); set_ident_flags( you.inv[item_slot], ISFLAG_IDENT_MASK ); - + remove_empty_inscription(you.inv[item_slot]); + // output identified item in_name( item_slot, DESC_INVENTORY_EQUIP, str_pass ); mpr( str_pass ); |