mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-05 15:55:45 +00:00
Don't show weight or value for keys (Fixes #1815)
This commit is contained in:
parent
47619d957a
commit
6ddd9cc5a2
@ -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 New Issue
Block a user