From b8b9746bd48eaad7b7489948b640cb6c650ec81c Mon Sep 17 00:00:00 2001 From: haranp Date: Tue, 16 Jan 2007 16:15:48 +0000 Subject: Fixed stupid bug in itemname.cc which was causing duplicate scroll names. [1622001] git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@857 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/itemname.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref') diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index da661eb885..cd07ab2eb4 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -1061,7 +1061,7 @@ static const char *item_name_2( const unsigned long sseed = item.special - + static_cast(it_plus) + + (static_cast(it_plus) << 8) + (static_cast(item_clas) << 16); make_name( sseed, true, buff3 ); strncat( buff, buff3 , ITEMNAME_SIZE ); -- cgit v1.2.3-54-g00ecf