diff options
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r-- | crawl-ref/source/spells2.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index b2ef894474..9175fa1d11 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -1589,8 +1589,7 @@ bool summon_holy_warrior(int pow, god_type god, int spell, !force_hostile, quiet); } -bool cast_tukimas_dance(int pow, god_type god, - bool force_hostile) +bool cast_tukimas_dance(int pow, god_type god, bool force_hostile) { bool success = true; @@ -1613,10 +1612,12 @@ bool cast_tukimas_dance(int pow, god_type god, if (i == NON_ITEM) success = false; else if (success) + { // Copy item now so that mitm[i] is occupied and doesn't get picked // by get_item_slot() when giving the dancing weapon its item // during create_monster(). mitm[i] = you.inv[wpn]; + } int monster; |