diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-07 21:30:12 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-07 21:30:12 +0000 |
commit | 88476ef9569929088137a21fcb4822ae7a83431a (patch) | |
tree | 0d787ab237dd7e58fdecf051199721a803c072a6 /crawl-ref/source/makeitem.cc | |
parent | 100c7dd207a48003e0af4834d94244fbded71cf9 (diff) | |
download | crawl-ref-88476ef9569929088137a21fcb4822ae7a83431a.tar.gz crawl-ref-88476ef9569929088137a21fcb4822ae7a83431a.zip |
Properly save friendly pickup setting as a player variable (rather than
options). This increases the minor version by 1. Also, tidy up the
checks of this settings.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4916 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r-- | crawl-ref/source/makeitem.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index 95540dacfc..64a96c12e1 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -1780,7 +1780,7 @@ static void _generate_missile_item(item_def& item, int force_type, } else if (item.sub_type == MI_STONE) { - item.quantity = 1^+ random2(9) + random2(12) + random2(15) + random2(12); + item.quantity = 1 + random2(9) + random2(12) + random2(15) + random2(12); return; } else if (item.sub_type == MI_THROWING_NET) // no fancy nets, either |