1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-24 17:26:36 +00:00

Update file spellcreationdialog.cpp

This commit is contained in:
Garrett 2025-04-03 05:12:15 +00:00 committed by SkyHasACat
parent bcb27fff6a
commit 2d2df30f80

View file

@ -30,7 +30,6 @@
namespace
{
bool sortMagicEffects(short id1, short id2)
{
const MWWorld::Store<ESM::GameSetting>& gmst
@ -556,10 +555,10 @@ namespace MWGui
for (const short effectId : knownEffects)
{
mAvailableEffectsList->addItem(MWBase::Environment::get()
.getESMStore()
->get<ESM::GameSetting>()
.find(ESM::MagicEffect::indexToGmstString(effectId))
->mValue.getString());
.getESMStore()
->get<ESM::GameSetting>()
.find(ESM::MagicEffect::indexToGmstString(effectId))
->mValue.getString());
mButtonMapping[i] = effectId;
++i;
}