diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-05 01:11:57 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-05 01:11:57 +0000 |
commit | 922342473b6af1fcf53bd1173b4e85627518479d (patch) | |
tree | 8ba5e902b0b9d386bf759281e02b3842b7e2578c /crawl-ref/source/randart.cc | |
parent | cdab703a671fabd21a015d23a5dc8a3ed5e10b36 (diff) | |
download | crawl-ref-922342473b6af1fcf53bd1173b4e85627518479d.tar.gz crawl-ref-922342473b6af1fcf53bd1173b4e85627518479d.zip |
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
Diffstat (limited to 'crawl-ref/source/randart.cc')
-rw-r--r-- | crawl-ref/source/randart.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; |