aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/filesystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/filesystem.cpp')
-rw-r--r--NorthstarDedicatedTest/filesystem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/NorthstarDedicatedTest/filesystem.cpp b/NorthstarDedicatedTest/filesystem.cpp
index 73cb5a1a..09bf8e97 100644
--- a/NorthstarDedicatedTest/filesystem.cpp
+++ b/NorthstarDedicatedTest/filesystem.cpp
@@ -87,12 +87,12 @@ bool TryReplaceFile(const char* pPath, bool shouldCompile)
return false;
if (shouldCompile)
- g_ModManager->CompileAssetsForFile(pPath);
+ g_pModManager->CompileAssetsForFile(pPath);
// idk how efficient the lexically normal check is
// can't just set all /s in path to \, since some paths aren't in writeable memory
- auto file = g_ModManager->m_modFiles.find(g_ModManager->NormaliseModFilePath(fs::path(pPath)));
- if (file != g_ModManager->m_modFiles.end())
+ auto file = g_pModManager->m_modFiles.find(g_pModManager->NormaliseModFilePath(fs::path(pPath)));
+ if (file != g_pModManager->m_modFiles.end())
{
SetNewModSearchPaths(file->second.owningMod);
return true;
@@ -143,7 +143,7 @@ VPKData* MountVPKHook(IFileSystem* fileSystem, const char* vpkPath)
spdlog::info("MountVPK {}", vpkPath);
VPKData* ret = MountVPK(fileSystem, vpkPath);
- for (Mod mod : g_ModManager->m_loadedMods)
+ for (Mod mod : g_pModManager->m_loadedMods)
{
if (!mod.Enabled)
continue;