Skip to content

Commit

Permalink
Added "rune spell name" to rune on look (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
Solkrasm authored Nov 9, 2022
1 parent 6c58e6d commit 1f1dd6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/items/item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1733,7 +1733,7 @@ std::string Item::getDescription(const ItemType& it, int32_t lookDistance,
if (item) {
tmpSubType = item->getSubType();
}
s << ". " << (it.stackable && tmpSubType > 1 ? "They" : "It") << " can only be used by ";
s << " (\"" << it.runeSpellName << "\"). " << (it.stackable && tmpSubType > 1 ? "They" : "It") << " can only be used by ";

const VocSpellMap& vocMap = rune->getVocMap();
std::vector<Vocation*> showVocMap;
Expand Down

0 comments on commit 1f1dd6f

Please sign in to comment.