diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-08 17:10:37 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-08 17:18:07 -0600 |
commit | a4be9baa7af0116b50c038d8efa00f216b1b41f9 (patch) | |
tree | 9214ac37095f439fdc8e3be5ab3047f0cdc24dd2 /crawl-ref/source/art-func.h | |
parent | edc0fa1655aade46898e9891e815c87c0e10a05f (diff) | |
download | crawl-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.h | 2 |
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) { |