|
|
|
@ -446,7 +446,7 @@ namespace MWGui
|
|
|
|
|
// constant effects have no duration and no target
|
|
|
|
|
if (!mEffectParams.mIsConstant)
|
|
|
|
|
{
|
|
|
|
|
if (mEffectParams.mDuration >= 0 && !(magicEffect->mData.mFlags & ESM::MagicEffect::NoDuration))
|
|
|
|
|
if (mEffectParams.mDuration > 0 && !(magicEffect->mData.mFlags & ESM::MagicEffect::NoDuration))
|
|
|
|
|
{
|
|
|
|
|
spellLine += " " + MWBase::Environment::get().getWindowManager()->getGameSettingString("sfor", "") + " " + boost::lexical_cast<std::string>(mEffectParams.mDuration) + ((mEffectParams.mDuration == 1) ? sec : secs);
|
|
|
|
|
}
|
|
|
|
|