mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
don't show diseases and curses in the spell list
This commit is contained in:
parent
447158e9d6
commit
584ae30213
@ -144,9 +144,11 @@ namespace MWGui
|
|||||||
powers.push_back(*it);
|
powers.push_back(*it);
|
||||||
it = spellList.erase(it);
|
it = spellList.erase(it);
|
||||||
}
|
}
|
||||||
else if (spell->data.type == ESM::Spell::ST_Ability)
|
else if (spell->data.type == ESM::Spell::ST_Ability
|
||||||
|
|| spell->data.type == ESM::Spell::ST_Blight
|
||||||
|
|| spell->data.type == ESM::Spell::ST_Curse
|
||||||
|
|| spell->data.type == ESM::Spell::ST_Disease)
|
||||||
{
|
{
|
||||||
// abilities are always active and don't show in the spell window.
|
|
||||||
it = spellList.erase(it);
|
it = spellList.erase(it);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user