mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 06:53:53 +00:00
Don't show weight or value for keys (Fixes #1815)
This commit is contained in:
parent
47619d957a
commit
6ddd9cc5a2
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ namespace MWClass
|
|||
|
||||
std::string text;
|
||||
|
||||
if (!gold)
|
||||
if (!gold && !ref->mBase->mData.mIsKey)
|
||||
{
|
||||
text += "\n#{sWeight}: " + MWGui::ToolTips::toString(ref->mBase->mData.mWeight);
|
||||
text += MWGui::ToolTips::getValueString(getValue(ptr), "#{sValue}");
|
||||
|
|
Loading…
Reference in a new issue