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 !
sceneinput
Emmanuel Anne 9 years ago
parent 4d94f38f4b
commit 47e29480ce

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

Loading…
Cancel
Save