summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 552fa11bd4..104cacd6b6 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -546,7 +546,8 @@ bool cast_shadow_creatures(god_type god)
const int monster =
create_monster(
- mgen_data(RANDOM_MONSTER, BEH_FRIENDLY, 2, SPELL_SHADOW_CREATURES,
+ mgen_data(RANDOM_MONSTER, BEH_FRIENDLY,
+ 2, SPELL_SHADOW_CREATURES,
you.pos(), you.pet_target,
MG_FORCE_BEH, god), false);
@@ -810,8 +811,8 @@ static bool _raise_remains(const coord_def &a, int corps, beh_type beha,
}
const int monster = create_monster(
- mgen_data(mon, beha, 0,
- a, hitting,
+ mgen_data(mon, beha,
+ 0, a, hitting,
0, god,
zombie_type, number));
if (mon_index != NULL)