aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/sourceinterface.h
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-18 03:13:52 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-18 03:13:52 +0000
commite512279b5cb47fca0107fb5e80a3d0a468bb5e6f (patch)
treea4595885fe1d86affe7b2d668cbe743f9a5b572c /NorthstarDedicatedTest/sourceinterface.h
parentcd18553bbc302f264edf35eed1daab07a2512513 (diff)
downloadNorthstarLauncher-e512279b5cb47fca0107fb5e80a3d0a468bb5e6f.tar.gz
NorthstarLauncher-e512279b5cb47fca0107fb5e80a3d0a468bb5e6f.zip
make FCVAR_CLIENTCMD_CAN_EXECUTE checks not rely on concommand dispatch hooks that may be inconsistent across dlls
Diffstat (limited to 'NorthstarDedicatedTest/sourceinterface.h')
-rw-r--r--NorthstarDedicatedTest/sourceinterface.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/sourceinterface.h b/NorthstarDedicatedTest/sourceinterface.h
index 829942ba..11d73e76 100644
--- a/NorthstarDedicatedTest/sourceinterface.h
+++ b/NorthstarDedicatedTest/sourceinterface.h
@@ -1,6 +1,5 @@
#pragma once
#include <string>
-#include "gameutils.h"
// literally just copied from ttf2sdk definition
typedef void*(*CreateInterfaceFn)(const char* pName, int* pReturnCode);
@@ -17,7 +16,7 @@ public:
CreateInterfaceFn createInterface = (CreateInterfaceFn)GetProcAddress(handle, "CreateInterface");
m_interface = (T*)createInterface(interfaceName.c_str(), NULL);
if (m_interface == nullptr)
- Error("Failed to call CreateInterface for %s in %s", interfaceName, moduleName);
+ spdlog::error("Failed to call CreateInterface for %s in %s", interfaceName, moduleName);
}
T* operator->() const