mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-25 16:43:33 +00:00
Fix missing clear in ESM::Spell::load (Fixes #2368)
This commit is contained in:
parent
a139e4efb0
commit
8b417c06db
@ -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…
x
Reference in New Issue
Block a user