mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-04 11:04:32 +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();
|
||||
|
||||
int price = std::max(1,
|
||||
static_cast<int>(
|
||||
MWMechanics::calcSpellCost(spell) * store.get<ESM::GameSetting>().find("fSpellValueMult")->mValue.getFloat()));
|
||||
static_cast<int>(MWMechanics::calcSpellCost(spell)
|
||||
* store.get<ESM::GameSetting>().find("fSpellValueMult")->mValue.getFloat()));
|
||||
price = MWBase::Environment::get().getMechanicsManager()->getBarterOffer(mPtr, price, true);
|
||||
|
||||
MWWorld::Ptr player = MWMechanics::getPlayer();
|
||||
|
|
|
|||
Loading…
Reference in a new issue