From b49f34292556d8d6d239cc57aba8068bb22cf751 Mon Sep 17 00:00:00 2001 From: haranp Date: Fri, 27 Apr 2007 11:59:31 +0000 Subject: Rewrite of item_def::name() (the old itemname()). Much, much cleaner now. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1376 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/misc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/misc.cc') diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index dbc1d633cb..eff23623b0 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -46,7 +46,7 @@ #include "hiscores.h" #include "it_use2.h" #include "items.h" -#include "itemname.h" +#include "itemprop.h" #include "lev-pand.h" #include "macro.h" #include "makeitem.h" @@ -91,7 +91,7 @@ void turn_corpse_into_chunks( item_def &item ) // seems to me that this should come about only // after the corpse has been butchered ... {dlb} - if (monster_descriptor( mons_class, MDSC_LEAVES_HIDE ) && !one_chance_in(3)) + if (monster_descriptor(mons_class, MDSC_LEAVES_HIDE) && !one_chance_in(3)) { int o = get_item_slot( 100 + random2(200) ); if (o == NON_ITEM) -- cgit v1.2.3-54-g00ecf