durations in tooltips : water walking effects is seen differently

so move the duration info out of this block...
This commit is contained in:
Emmanuel Anne 2015-09-16 19:18:01 +02:00
parent 1472711583
commit b0d373f7e6

View file

@ -133,6 +133,7 @@ namespace MWGui
MWBase::Environment::get().getWindowManager()->getGameSettingString("spoints", "") :
MWBase::Environment::get().getWindowManager()->getGameSettingString("spoint", "") );
}
}
if (effectIt->mRemainingTime > -1) {
sourcesDescription += " #{sDuration}: ";
float duration = effectIt->mRemainingTime;
@ -151,7 +152,6 @@ namespace MWGui
}
}
}
}
if (remainingDuration > 0.f)
{