From 6ddd9cc5a237543d8cbcb4601e81979dc0e210cf Mon Sep 17 00:00:00 2001 From: scrawl Date: Sat, 16 Aug 2014 16:51:56 +0200 Subject: [PATCH] Don't show weight or value for keys (Fixes #1815) --- apps/openmw/mwclass/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwclass/misc.cpp b/apps/openmw/mwclass/misc.cpp index c1000f3db6..1b4719c6e7 100644 --- a/apps/openmw/mwclass/misc.cpp +++ b/apps/openmw/mwclass/misc.cpp @@ -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}");