1
0
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:
scrawl 2014-08-16 16:51:56 +02:00
parent 47619d957a
commit 6ddd9cc5a2

View File

@ -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}");