durations in tooltips : water walking effects is seen differently

so move the duration info out of this block...
sceneinput
Emmanuel Anne 9 years ago
parent 1472711583
commit b0d373f7e6

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

Loading…
Cancel
Save