forked from teamnwah/openmw-tes3coop
durations in tooltips : water walking effects is seen differently
so move the duration info out of this block...
This commit is contained in:
parent
1472711583
commit
b0d373f7e6
1 changed files with 17 additions and 17 deletions
|
@ -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…
Reference in a new issue