summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/art-func.h
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/art-func.h
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/art-func.h')
-rw-r--r--crawl-ref/source/art-func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/art-func.h b/crawl-ref/source/art-func.h
index 05691edf71..f4c076e478 100644
--- a/crawl-ref/source/art-func.h
+++ b/crawl-ref/source/art-func.h
@@ -73,7 +73,7 @@ static bool _evoke_sceptre_of_asmodeus()
summon_any_demon(DEMON_COMMON));
const bool good_summon = create_monster(
mgen_data::hostile_at(mon,
- you.pos(), 6, 0, true)) != -1;
+ true, 6, 0, you.pos())) != -1;
if (good_summon)
{