Merge pull request #1278 from EQEmu/akkadius/fix-skill-caps-loading-consistency

[Bugfix] Fix Skill Caps Loading References
This commit is contained in:
Alex
2021-03-05 19:20:11 -08:00
committed by GitHub
8 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -1906,7 +1906,7 @@ void Client::SetClassStartingSkills(PlayerProfile_Struct *pp)
i == EQ::skills::SkillAlcoholTolerance || i == EQ::skills::SkillBindWound)
continue;
pp->skills[i] = database.GetSkillCap(pp->class_, (EQ::skills::SkillType)i, 1);
pp->skills[i] = content_db.GetSkillCap(pp->class_, (EQ::skills::SkillType)i, 1);
}
}
+1 -1
View File
@@ -1338,7 +1338,7 @@ void ZoneServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p) {
}
LogInfo("Loading skill caps");
if (!database.LoadSkillCaps(hotfix_name)) {
if (!content_db.LoadSkillCaps(hotfix_name)) {
LogInfo("Error: Could not load skill cap data. But ignoring");
}