We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ad1e1 commit 2b0843aCopy full SHA for 2b0843a
1 file changed
core/GameHooks.cpp
@@ -30,7 +30,11 @@
30
#include "command_args.h"
31
#include "provider.h"
32
33
+#if SOURCE_ENGINE >= SE_ORANGEBOX
34
KHook::Virtual CallGlobalChangeCallback_Hook(&ICvar::CallGlobalChangeCallbacks, &GameHooks::OnConVarChanged, nullptr);
35
+#else
36
+KHook::Virtual CallGlobalChangeCallback_Hook(&ICvar::CallGlobalChangeCallback, &GameHooks::OnConVarChanged, nullptr);
37
+#endif
38
39
GameHooks::GameHooks()
40
:
0 commit comments