mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
Core/DataStores: Simplified string memory allocation in db2 files, dropped unneccessary level of indirection
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user