summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monplace.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-08 00:20:53 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-08 00:20:53 +0000
commit3eb5546d189ab5129707cfe7d96509a0a817fe5d (patch)
tree65f01c095789f1179abca0748e915b2d3049efb4 /crawl-ref/source/monplace.cc
parentff81fe1844a5f0e0ebb7d3f91ffb9d9e92637e29 (diff)
downloadcrawl-ref-3eb5546d189ab5129707cfe7d96509a0a817fe5d.tar.gz
crawl-ref-3eb5546d189ab5129707cfe7d96509a0a817fe5d.zip
And use it in one more place.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9375 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monplace.cc')
-rw-r--r--crawl-ref/source/monplace.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/crawl-ref/source/monplace.cc b/crawl-ref/source/monplace.cc
index 42e8220dcd..f68e4c5b85 100644
--- a/crawl-ref/source/monplace.cc
+++ b/crawl-ref/source/monplace.cc
@@ -497,11 +497,7 @@ static monster_type _resolve_monster_type(monster_type mon_type,
|| drac_colour_incompatible(mon_type, base_type)));
}
else if (mon_type == RANDOM_BASE_DRACONIAN)
- {
- mon_type =
- static_cast<monster_type>(
- random_range(MONS_BLACK_DRACONIAN, MONS_PALE_DRACONIAN));
- }
+ mon_type = random_draconian_monster_species();
else if (mon_type == RANDOM_NONBASE_DRACONIAN)
{
mon_type =