mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:53:50 +00:00
Merge remote-tracking branch 'potatoesmaster/strfix'
This commit is contained in:
commit
fbaad8e105
1 changed files with 5 additions and 1 deletions
|
@ -144,7 +144,11 @@ void MWMechanics::Alchemy::updateEffects()
|
||||||
MWBase::Environment::get().getWorld()->getStore().get<ESM::MagicEffect>().find (iter->mId);
|
MWBase::Environment::get().getWorld()->getStore().get<ESM::MagicEffect>().find (iter->mId);
|
||||||
|
|
||||||
if (magicEffect->mData.mBaseCost<=0)
|
if (magicEffect->mData.mBaseCost<=0)
|
||||||
throw std::runtime_error ("invalid base cost for magic effect " + iter->mId);
|
{
|
||||||
|
std::ostringstream os;
|
||||||
|
os << "invalid base cost for magic effect " << iter->mId;
|
||||||
|
throw std::runtime_error (os.str());
|
||||||
|
}
|
||||||
|
|
||||||
float fPotionT1MagMul =
|
float fPotionT1MagMul =
|
||||||
MWBase::Environment::get().getWorld()->getStore().get<ESM::GameSetting>().find ("fPotionT1MagMult")->getFloat();
|
MWBase::Environment::get().getWorld()->getStore().get<ESM::GameSetting>().find ("fPotionT1MagMult")->getFloat();
|
||||||
|
|
Loading…
Reference in a new issue