Fix submodule name + fix invalid function call

This commit is contained in:
Kenzzer 2025-04-29 09:53:54 +00:00
parent 5e589002ef
commit 37e0273cc5
No known key found for this signature in database
GPG Key ID: 64C3FD4332686DC1
2 changed files with 2 additions and 2 deletions

2
.gitmodules vendored
View File

@ -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

View File

@ -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);