diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-03-09 00:46:49 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-03-09 21:00:22 +0100 |
commit | b664766e0bb08e2e7c46fb662f21fcaaecafc6b1 (patch) | |
tree | 79e926c2c7cb60a11b9a9825fab0ddb05051711d /crawl-ref/source/spl-other.cc | |
parent | 380d5887bd29218e618c7f07f611b40756aac9b8 (diff) | |
download | crawl-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.cc | 4 |
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; |