summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godcompanions.h
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2013-03-05 22:27:10 -0330
committerDracoOmega <draco_omega@live.com>2013-03-06 01:38:15 -0330
commit4bf3e34638f76458d700f1ccb80cb851c7a5e3bb (patch)
treecdf6f7bcda1aa6f1d306506b5fe277754e767e89 /crawl-ref/source/godcompanions.h
parent52967696eaa300f69245996ab913b58d595f19f5 (diff)
downloadcrawl-ref-4bf3e34638f76458d700f1ccb80cb851c7a5e3bb.tar.gz
crawl-ref-4bf3e34638f76458d700f1ccb80cb851c7a5e3bb.zip
Recall allies in rough order of HD (with random jitter)
Fully random ordering had several problems when the player had a large number of allies, many of which were mostly worthless. Raising a bunch of green rat skeletons shouldn't make a Yred worshipper's effective recall power noticeably weaker, for example, nor should a Beogh follower gaining a large number of plain orcs to accompany their warlords.
Diffstat (limited to 'crawl-ref/source/godcompanions.h')
-rw-r--r--crawl-ref/source/godcompanions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/godcompanions.h b/crawl-ref/source/godcompanions.h
index f1746d6b79..980d170631 100644
--- a/crawl-ref/source/godcompanions.h
+++ b/crawl-ref/source/godcompanions.h
@@ -35,7 +35,7 @@ bool recall_offlevel_companions();
void list_companions();
bool companion_is_elsewhere(mid_t mid);
-void populate_offlevel_recall_list();
+void populate_offlevel_recall_list(vector<pair<mid_t, int> > &recall_list);
bool recall_offlevel_ally(mid_t mid);
void wizard_list_companions();