mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-05 01:34:33 +00:00
Clang format
This commit is contained in:
parent
085e5d1988
commit
22c01b22c1
1 changed files with 2 additions and 2 deletions
|
|
@ -44,8 +44,8 @@ namespace MWGui
|
||||||
const MWWorld::ESMStore& store = *MWBase::Environment::get().getESMStore();
|
const MWWorld::ESMStore& store = *MWBase::Environment::get().getESMStore();
|
||||||
|
|
||||||
int price = std::max(1,
|
int price = std::max(1,
|
||||||
static_cast<int>(
|
static_cast<int>(MWMechanics::calcSpellCost(spell)
|
||||||
MWMechanics::calcSpellCost(spell) * store.get<ESM::GameSetting>().find("fSpellValueMult")->mValue.getFloat()));
|
* store.get<ESM::GameSetting>().find("fSpellValueMult")->mValue.getFloat()));
|
||||||
price = MWBase::Environment::get().getMechanicsManager()->getBarterOffer(mPtr, price, true);
|
price = MWBase::Environment::get().getMechanicsManager()->getBarterOffer(mPtr, price, true);
|
||||||
|
|
||||||
MWWorld::Ptr player = MWMechanics::getPlayer();
|
MWWorld::Ptr player = MWMechanics::getPlayer();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue