Core/Datastores: refactor DBC storage helpers to use a class and fixed no pch build
This commit is contained in:
1 parent
7797c6a0ad
commit
f1f00c3ec3
43 files changed
+461
-461
No files matched your search
@@ -2232,7 +2232,7 @@ void Spell::EffectLearnSkill(SpellEffIndex effIndex)
|
||||
return;
|
||||
|
||||
uint32 skillid = m_spellInfo->Effects[effIndex].MiscValue;
|
||||
SkillRaceClassInfoEntry const* rcEntry = GetSkillRaceClassInfo(skillid, unitTarget->getRace(), unitTarget->getClass());
|
||||
SkillRaceClassInfoEntry const* rcEntry = sDBCManager.GetSkillRaceClassInfo(skillid, unitTarget->getRace(), unitTarget->getClass());
|
||||
if (!rcEntry)
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user