Fix database connection pointer bucket consistency

This commit is contained in:
Akkadius
2021-02-28 19:31:46 -06:00
parent 66f89416d5
commit 450c748299
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");
}