mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-24 19:56:37 +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
|
namespace
|
||||||
{
|
{
|
||||||
|
|
||||||
bool sortMagicEffects(short id1, short id2)
|
bool sortMagicEffects(short id1, short id2)
|
||||||
{
|
{
|
||||||
const MWWorld::Store<ESM::GameSetting>& gmst
|
const MWWorld::Store<ESM::GameSetting>& gmst
|
||||||
|
|
@ -556,10 +555,10 @@ namespace MWGui
|
||||||
for (const short effectId : knownEffects)
|
for (const short effectId : knownEffects)
|
||||||
{
|
{
|
||||||
mAvailableEffectsList->addItem(MWBase::Environment::get()
|
mAvailableEffectsList->addItem(MWBase::Environment::get()
|
||||||
.getESMStore()
|
.getESMStore()
|
||||||
->get<ESM::GameSetting>()
|
->get<ESM::GameSetting>()
|
||||||
.find(ESM::MagicEffect::indexToGmstString(effectId))
|
.find(ESM::MagicEffect::indexToGmstString(effectId))
|
||||||
->mValue.getString());
|
->mValue.getString());
|
||||||
mButtonMapping[i] = effectId;
|
mButtonMapping[i] = effectId;
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue