diff options
-rw-r--r-- | crawl-ref/source/decks.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/spells2.cc | 7 | ||||
-rw-r--r-- | crawl-ref/source/spells2.h | 7 |
3 files changed, 5 insertions, 11 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc index 6a9a4c5783..cde86d7611 100644 --- a/crawl-ref/source/decks.cc +++ b/crawl-ref/source/decks.cc @@ -1775,7 +1775,7 @@ static void _blade_card(int power, deck_rarity_type rarity) const int power_level = get_power_level(power, rarity); if ( power_level >= 2 ) { - dancing_weapon( random2(power/4), false ); + dancing_weapon( random2(power/4) ); } else if ( power_level == 1 ) { 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; diff --git a/crawl-ref/source/spells2.h b/crawl-ref/source/spells2.h index 43f2736d8e..1c15a00256 100644 --- a/crawl-ref/source/spells2.h +++ b/crawl-ref/source/spells2.h @@ -198,13 +198,6 @@ void summon_animals(int pow); // last updated 24may2000 {dlb} /* *********************************************************************** - * called from: spell - * *********************************************************************** */ -bool summon_small_mammals(int pow, bool god_gift = false); - - -// last updated 24may2000 {dlb} -/* *********************************************************************** * called from: ability - spell * *********************************************************************** */ void turn_undead(int pow); // what should I use for pow? |