summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-08 17:10:37 -0600
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-11-08 17:18:07 -0600
commita4be9baa7af0116b50c038d8efa00f216b1b41f9 (patch)
tree9214ac37095f439fdc8e3be5ab3047f0cdc24dd2 /crawl-ref/source/effects.cc
parentedc0fa1655aade46898e9891e815c87c0e10a05f (diff)
downloadcrawl-ref-a4be9baa7af0116b50c038d8efa00f216b1b41f9.tar.gz
crawl-ref-a4be9baa7af0116b50c038d8efa00f216b1b41f9.zip
Reorder the parameters in mgen_data::hostile_at() to be closer to the
order used in mgen_data(), and allow the former to specify the base monster, as the latter does.
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index c88216ee35..f2b0635406 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -2868,7 +2868,7 @@ static void _hell_effects()
{
create_monster(
mgen_data::hostile_at(which_beastie,
- you.pos(), 0, 0, true));
+ true, 0, 0, you.pos()));
}
else
{