mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 12:57:16 +00:00
Config File Update Initial Update
This commit is contained in:
1 parent
04f47f1e32
commit
b997a040d7
50 files changed
+247
-93
No files matched your search
@@ -34,7 +34,7 @@ void LoadSpells(SharedDatabase *database, const std::string &prefix) {
|
||||
|
||||
uint32 size = records * sizeof(SPDat_Spell_Struct) + sizeof(uint32);
|
||||
|
||||
std::string file_name = std::string("shared/") + prefix + std::string("spells");
|
||||
std::string file_name = Config->SharedMemDir + prefix + std::string("spells");
|
||||
EQEmu::MemoryMappedFile mmf(file_name, size);
|
||||
mmf.ZeroFile();
|
||||
|
||||
|
||||
Reference in new issue
Block a user