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:
parent
bcb27fff6a
commit
2d2df30f80
1 changed files with 4 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue