1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-04 11:04:32 +00:00

Clang format

This commit is contained in:
Aussiemon 2025-04-19 23:06:30 -06:00
parent 085e5d1988
commit 22c01b22c1

View file

@ -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();