1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-22 02:09:49 +00:00

Fix missing clear in ESM::Spell::load (Fixes #2368)

This commit is contained in:
scrawl 2015-02-13 17:26:33 +01:00
parent a139e4efb0
commit 8b417c06db

View file

@ -10,6 +10,7 @@ namespace ESM
void Spell::load(ESMReader &esm)
{
mEffects.mList.clear();
bool hasData = false;
while (esm.hasMoreSubs())
{