1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 21:19:40 +00:00

show duration of light sources in tooltip

I had forgotten light sources disappear after a while, this way at least
you know it's normal !
This commit is contained in:
Emmanuel Anne 2015-09-16 16:04:25 +02:00
parent 4d94f38f4b
commit 47e29480ce

View file

@ -169,6 +169,7 @@ namespace MWClass
std::string text; std::string text;
text += "\nDuration: " + MWGui::ToolTips::toString(ptr.getClass().getRemainingUsageTime(ptr));
if (ref->mBase->mData.mWeight != 0) if (ref->mBase->mData.mWeight != 0)
{ {
text += "\n#{sWeight}: " + MWGui::ToolTips::toString(ref->mBase->mData.mWeight); text += "\n#{sWeight}: " + MWGui::ToolTips::toString(ref->mBase->mData.mWeight);