summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-other.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-03-09 00:46:49 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-03-09 21:00:22 +0100
commitb664766e0bb08e2e7c46fb662f21fcaaecafc6b1 (patch)
tree79e926c2c7cb60a11b9a9825fab0ddb05051711d /crawl-ref/source/spl-other.cc
parent380d5887bd29218e618c7f07f611b40756aac9b8 (diff)
downloadcrawl-ref-b664766e0bb08e2e7c46fb662f21fcaaecafc6b1.tar.gz
crawl-ref-b664766e0bb08e2e7c46fb662f21fcaaecafc6b1.zip
Formatting fixes.
Diffstat (limited to 'crawl-ref/source/spl-other.cc')
-rw-r--r--crawl-ref/source/spl-other.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/crawl-ref/source/spl-other.cc b/crawl-ref/source/spl-other.cc
index ae14eb23f6..771f8a787d 100644
--- a/crawl-ref/source/spl-other.cc
+++ b/crawl-ref/source/spl-other.cc
@@ -229,16 +229,12 @@ void start_recall(int type)
{
// Sort the recall list roughly by HD, randomizing a little
for (unsigned int i = 0; i < rlist.size(); ++i)
- {
rlist[i].second += random2(10);
- }
sort(rlist.begin(), rlist.end(), recall_sorter());
you.recall_list.clear();
for (unsigned int i = 0; i < rlist.size(); ++i)
- {
you.recall_list.push_back(rlist[i].first);
- }
you.attribute[ATTR_NEXT_RECALL_INDEX] = 1;
you.attribute[ATTR_NEXT_RECALL_TIME] = 0;