From 304942100841fb213730bcbcec1e43773bc9ee67 Mon Sep 17 00:00:00 2001 From: staphen Date: Mon, 17 Oct 2022 14:41:41 -0400 Subject: [PATCH] Include runes in CanUseScroll() validation --- Source/inv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/inv.cpp b/Source/inv.cpp index d5479c72e..62bb281b3 100644 --- a/Source/inv.cpp +++ b/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); }); }