1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-19 17:39:44 +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}");