diff options
author | reaverb <reaverb.Crawl@gmail.com> | 2014-08-08 03:57:55 -0400 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-08-08 15:00:27 -0400 |
commit | 959592d6485a5aec6e0fb404f31edce8dd690e11 (patch) | |
tree | a4c97b5ea792cc5720bbb75661653af2f2efd08c /crawl-ref/source/dgn-labyrinth.cc | |
parent | 8ce947975fa9f9c0b3d8575ab43ff042c5d6b872 (diff) | |
download | crawl-ref-959592d6485a5aec6e0fb404f31edce8dd690e11.tar.gz crawl-ref-959592d6485a5aec6e0fb404f31edce8dd690e11.zip |
Remove 2 more parameters from items()
They were only used in one place, and the relevant code was moved to
that one place in the previous commit.
Diffstat (limited to 'crawl-ref/source/dgn-labyrinth.cc')
-rw-r--r-- | crawl-ref/source/dgn-labyrinth.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dgn-labyrinth.cc b/crawl-ref/source/dgn-labyrinth.cc index e57ad3cee5..56c91b6879 100644 --- a/crawl-ref/source/dgn-labyrinth.cc +++ b/crawl-ref/source/dgn-labyrinth.cc @@ -110,7 +110,7 @@ static void _labyrinth_place_items(const coord_def &end) 0); const int treasure_item = - items(1, glopop, OBJ_RANDOM, true, + items(true, glopop, OBJ_RANDOM, one_chance_in(3) ? env.absdepth0 * 3 : MAKE_GOOD_ITEM); if (treasure_item != NON_ITEM) |