diff options
author | Chris Oelmueller <chris.oelmueller@gmail.com> | 2013-11-16 11:13:00 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-11-16 16:59:32 +0100 |
commit | 6d24305edda4d359c8f7cf6d617d32da19e4bf59 (patch) | |
tree | 1dd2da4034f5b9954804c79a04fdc2229ff28edf /crawl-ref/source/wiz-item.cc | |
parent | 6233028bcdf9f48211b3674e1e2a92b44a298dcb (diff) | |
download | crawl-ref-6d24305edda4d359c8f7cf6d617d32da19e4bf59.tar.gz crawl-ref-6d24305edda4d359c8f7cf6d617d32da19e4bf59.zip |
Fix setting {Regen} randart property in wizmode
This was changed from bool (add 40 to rate or not) to a number in
180ebbfc23cde438bae5f78af1c326cab8ce24a5.
Not changing the property type (from bool) however meant this number
was either 0 or 1 up until now, which is rather different from 40.
Why does this property never generate "in the wild" by the way?
Diffstat (limited to 'crawl-ref/source/wiz-item.cc')
-rw-r--r-- | crawl-ref/source/wiz-item.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/wiz-item.cc b/crawl-ref/source/wiz-item.cc index 47f3eb48b8..0e55bd9292 100644 --- a/crawl-ref/source/wiz-item.cc +++ b/crawl-ref/source/wiz-item.cc @@ -338,7 +338,7 @@ static int8_t _prop_type[] = #if TAG_MAJOR_VERSION == 34 ARTP_VAL_BOOL, //FOG #endif - ARTP_VAL_BOOL, //REGEN + ARTP_VAL_ANY, //REGENERATION ARTP_VAL_BOOL, //NO_UPGRADE }; |