diff --git a/.gitmodules b/.gitmodules index b8fbfa6..ae82589 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,6 +4,6 @@ [submodule "hl2sdk-manifests"] path = hl2sdk-manifests url = https://github.com/alliedmodders/hl2sdk-manifests -[submodule "core/khook"] +[submodule "third_party/khook"] path = third_party/khook url = https://github.com/Kenzzer/KHook \ No newline at end of file diff --git a/loader/gamedll.cpp b/loader/gamedll.cpp index 25fd6ae..fc3bd33 100644 --- a/loader/gamedll.cpp +++ b/loader/gamedll.cpp @@ -689,7 +689,7 @@ mm_PatchAllowDedicated(bool patch) void **vtable_src; void **vtable_dest; - auto mfp = KHook::__GetMFPVtableIndex__(&ISource2ServerConfig::AllowDedicatedServers, mfp); + auto mfp = KHook::__GetMFPVtableIndex__(&ISource2ServerConfig::AllowDedicatedServers); assert(mfp != -1);