From a4be9baa7af0116b50c038d8efa00f216b1b41f9 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sun, 8 Nov 2009 17:10:37 -0600 Subject: 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. --- crawl-ref/source/art-func.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/art-func.h') 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) { -- cgit v1.2.3-54-g00ecf