Browse Source

Include runes in CanUseScroll() validation

pull/5421/head
staphen 3 years ago committed by Gleb Mazovetskiy
parent
commit
3049421008
  1. 2
      Source/inv.cpp

2
Source/inv.cpp

@ -2013,7 +2013,7 @@ bool CanUseScroll(Player &player, spell_id spell)
return false;
return HasInventoryOrBeltItem(player, [spell](const Item &item) {
return item.isScrollOf(spell);
return item.isScrollOf(spell) || item.isRuneOf(spell);
});
}

Loading…
Cancel
Save