diff options
-rw-r--r-- | src/object1.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/object1.cc b/src/object1.cc index c311ee34..c812462f 100644 --- a/src/object1.cc +++ b/src/object1.cc @@ -2070,11 +2070,17 @@ static std::string object_desc_aux(object_type const *o_ptr, int pref, int mode) } /* Note the discount, if any */ - if ((o_ptr->discount) && inscrip.empty()) + if ((o_ptr->discount) && o_ptr->inscription.empty()) { inscrip.push_back(fmt::format("{:d}% off", o_ptr->discount)); } + /* Append the user's inscription */ + if (!o_ptr->inscription.empty()) + { + inscrip.push_back(o_ptr->inscription); + } + /* Append the inscription, if any */ if (!inscrip.empty()) { |