Core/DataStores: Simplified string memory allocation in db2 files, dropped unneccessary level of indirection

This commit is contained in:
Shauren
2020-06-27 13:33:17 +02:00
parent eccc015ce7
commit deca201f77
38 changed files with 333 additions and 380 deletions

View File

@@ -1083,7 +1083,7 @@ SpellInfo::SpellInfo(SpellNameEntry const* spellName, ::Difficulty difficulty, S
}
_effects.shrink_to_fit();
SpellName = spellName->Name;
SpellName = &spellName->Name;
// SpellMiscEntry
SpellMiscEntry const* _misc = data.Misc;