[Hotfix] Shared Memory Protection Fixes

This commit is contained in:
Akkadius
2022-07-27 17:37:20 -05:00
parent 5331f4d841
commit 4002d6a083
3 changed files with 19 additions and 5 deletions
+4
View File
@@ -333,6 +333,10 @@ int main(int argc, char** argv) {
return 1;
}
// load these here for now until spells and items can be truly repointed to "content_db"
database.SetSharedItemsCount(content_db.GetItemsCount());
database.SetSharedSpellsCount(content_db.GetSpellsCount());
LogInfo("Loading base data");
if (!database.LoadBaseData(hotfix_name)) {
LogError("Loading base data failed!");