diff options
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; |