aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobTheBob9 <for.oliver.kirkham@gmail.com>2022-10-08 14:22:56 +0100
committerBobTheBob9 <for.oliver.kirkham@gmail.com>2022-10-08 14:22:56 +0100
commit46a7b84c5f2b3d69edf3eedd24666a10e028162a (patch)
tree02cb50b13eaf4ee3c858d0d963306dcb03ab1da6
parente4eb21af0dadc333250f9bcadd1b1316435a6fb0 (diff)
downloadNorthstarLauncher-46a7b84c5f2b3d69edf3eedd24666a10e028162a.tar.gz
NorthstarLauncher-46a7b84c5f2b3d69edf3eedd24666a10e028162a.zip
fixup formatting
-rw-r--r--NorthstarDLL/audio.cpp2
-rw-r--r--NorthstarDLL/exploitfixes.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDLL/audio.cpp b/NorthstarDLL/audio.cpp
index 268175bf..b1592b6f 100644
--- a/NorthstarDLL/audio.cpp
+++ b/NorthstarDLL/audio.cpp
@@ -324,7 +324,7 @@ void CustomAudioManager::ClearAudioOverrides()
// slightly (very) bad
// wait for all audio reads to complete so we don't kill preexisting audio buffers as we're writing to them
- std::unique_lock lock(g_CustomAudioManager.m_loadingMutex);
+ std::unique_lock lock(m_loadingMutex);
m_loadedAudioOverrides.clear();
m_loadedAudioOverridesRegex.clear();
diff --git a/NorthstarDLL/exploitfixes.cpp b/NorthstarDLL/exploitfixes.cpp
index 2a5f02f3..240c352c 100644
--- a/NorthstarDLL/exploitfixes.cpp
+++ b/NorthstarDLL/exploitfixes.cpp
@@ -126,7 +126,7 @@ bool, __fastcall, (void* pMsg)) // 48 8B D1 48 8B 49 18 48 8B 01 48 FF 60 10
int iFlags = bIsServerFrame ? FCVAR_USERINFO : FCVAR_REPLICATED;
if (!pVar->IsFlagSet(iFlags))
return BLOCKED_INFO(
- "Invalid flags (" << std::hex << "0x" << pVar->m_ConCommandBase.m_nFlags << "), var is " << entry->name);
+ "Invalid flags (" << std::hex << "0x" << pVar->m_ConCommandBase.m_nFlags << "), var is " << entry->name);
}
}
else