summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-24 16:26:33 +0300
committerVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-26 14:13:25 +0300
commit4bd6ffea6d735b21c241d70bb7ac3f844b2ef508 (patch)
treecebed59ec7cca58e7a9933f169fa8ac2126586e8 /crawl-ref/source/describe.cc
parentaa2c935b3ca653052a1363664228fdc1dac1515f (diff)
downloadcrawl-ref-4bd6ffea6d735b21c241d70bb7ac3f844b2ef508.tar.gz
crawl-ref-4bd6ffea6d735b21c241d70bb7ac3f844b2ef508.zip
Add book_number to debug-mode item descriptions.
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 692aa655b4..da52bb3673 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -1664,7 +1664,8 @@ std::string get_item_description( const item_def &item, bool verbose,
<< " link: " << item.link
<< " slot: " << item.slot
<< " ident_type: "
- << static_cast<int>(get_ident_type(item));
+ << static_cast<int>(get_ident_type(item))
+ << " book_number: " << item.book_number();
}
#endif