From 8b417c06db7fcfd0c44e88a07b5e4f2b2ea4c868 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 13 Feb 2015 17:26:33 +0100 Subject: [PATCH] Fix missing clear in ESM::Spell::load (Fixes #2368) --- components/esm/loadspel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/esm/loadspel.cpp b/components/esm/loadspel.cpp index cd630d6ab..96c048e0a 100644 --- a/components/esm/loadspel.cpp +++ b/components/esm/loadspel.cpp @@ -10,6 +10,7 @@ namespace ESM void Spell::load(ESMReader &esm) { + mEffects.mList.clear(); bool hasData = false; while (esm.hasMoreSubs()) {