Skip to content

Commit

Permalink
Allow melding rods (VeryAngryFelid)
Browse files Browse the repository at this point in the history
They were falling away instead, meaning they had to be re-wielded when
the form ended.
  • Loading branch information
neilmoore committed Jun 5, 2016
1 parent a01d2fe commit 45a6586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crawl-ref/source/transform.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,7 @@ static void _remove_equipment(const set<equipment_type>& removed,
{
if (form_can_wield(you.form))
unequip = true;
if (!is_weapon(*equip))
if (!is_weapon(*equip) && equip->base_type != OBJ_RODS)
unequip = true;
}

Expand Down

0 comments on commit 45a6586

Please sign in to comment.