From 922342473b6af1fcf53bd1173b4e85627518479d Mon Sep 17 00:00:00 2001 From: haranp Date: Wed, 5 Dec 2007 01:11:57 +0000 Subject: Randarts can now be autoinscribed from the 'v' screen. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2998 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/randart.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/randart.cc') diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc index 3e54be6752..20d2de175b 100644 --- a/crawl-ref/source/randart.cc +++ b/crawl-ref/source/randart.cc @@ -961,7 +961,7 @@ static int randart_add_one_property( const item_def &item, prop = random2(5); } - bool negench = one_chance_in(4); + const bool negench = one_chance_in(4); switch(prop) { @@ -1029,7 +1029,7 @@ void randart_wpn_properties( const item_def &item, } const object_class_type aclass = item.base_type; - const int atype = item.sub_type; + const int atype = item.sub_type; int power_level = 0; -- cgit v1.2.3-54-g00ecf