Core/DataStores: Fixed SpellLabelEntry structure

This commit is contained in:
Shauren
2021-06-05 13:24:46 +02:00
parent 19990a966b
commit 2bfa576b30
3 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1 @@
ALTER TABLE `spell_label` MODIFY `SpellID` int(10) unsigned NOT NULL DEFAULT '0';

View File

@@ -5134,7 +5134,7 @@ struct SpellLabelLoadInfo
{
{ false, FT_INT, "ID" },
{ false, FT_INT, "LabelID" },
{ true, FT_INT, "SpellID" },
{ false, FT_INT, "SpellID" },
};
static DB2LoadInfo const loadInfo(&fields[0], std::extent<decltype(fields)>::value, SpellLabelMeta::Instance(), HOTFIX_SEL_SPELL_LABEL);
return &loadInfo;

View File

@@ -3076,7 +3076,7 @@ struct SpellLabelEntry
{
uint32 ID;
uint32 LabelID;
int32 SpellID;
uint32 SpellID;
};
struct SpellLearnSpellEntry