fix(Core): Memleaks fixes - Part II. (#5760)

This commit is contained in:
UltraNix
2021-05-14 10:15:45 +02:00
committed by GitHub
parent 1b6c2004ce
commit 8dd58ebb5b
19 changed files with 138 additions and 127 deletions

View File

@@ -342,12 +342,14 @@ enum SpellImmuneBlockType
struct SpellImmune
{
SpellImmune() : spellId(0), type(IMMUNITY_EFFECT), blockType(SPELL_BLOCK_TYPE_ALL) { }
uint32 spellId;
uint32 type : 16;
uint32 blockType : 16;
uint32 type;
uint32 blockType;
};
typedef std::list<SpellImmune> SpellImmuneList;
typedef std::vector<SpellImmune> SpellImmuneList;
enum UnitModifierType
{