mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[Code] PathManager Global to Singleton Cleanup (#4924)
This commit is contained in:
+1
-1
@@ -200,7 +200,7 @@ void QuestManager::summonitem(uint32 itemid, int16 charges) {
|
||||
|
||||
void QuestManager::write(const char *file, const char *str) {
|
||||
FILE * pFile;
|
||||
pFile = fopen (fmt::format("{}/{}", path.GetServerPath(), file).c_str(), "a");
|
||||
pFile = fopen (fmt::format("{}/{}", PathManager::Instance()->GetServerPath(), file).c_str(), "a");
|
||||
if(!pFile)
|
||||
return;
|
||||
fprintf(pFile, "%s\n", str);
|
||||
|
||||
Reference in New Issue
Block a user