forked from teamnwah/openmw-tes3coop
Fix missing clear in ESM::Spell::load (Fixes #2368)
This commit is contained in:
parent
a139e4efb0
commit
8b417c06db
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ namespace ESM
|
||||||
|
|
||||||
void Spell::load(ESMReader &esm)
|
void Spell::load(ESMReader &esm)
|
||||||
{
|
{
|
||||||
|
mEffects.mList.clear();
|
||||||
bool hasData = false;
|
bool hasData = false;
|
||||||
while (esm.hasMoreSubs())
|
while (esm.hasMoreSubs())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue