diff options
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r-- | crawl-ref/source/spells2.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index 877ebf1bf3..b3809f28e0 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -2274,9 +2274,10 @@ bool cast_summon_dragon(int pow, bool god_gift) if (create_monster( mgen_data(MONS_DRAGON, - friendly ? BEH_FRIENDLY : BEH_HOSTILE, 3, - you.pos(), - friendly ? you.pet_target : MHITYOU)) != -1) + friendly ? BEH_FRIENDLY : BEH_HOSTILE, + 3, you.pos(), + friendly ? you.pet_target : MHITYOU, + god_gift ? MF_GOD_GIFT : 0)) != -1) { success = true; |