mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-06 18:08:31 +00:00
Fix submodule name + fix invalid function call
This commit is contained in:
parent
5e589002ef
commit
37e0273cc5
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -4,6 +4,6 @@
|
|||||||
[submodule "hl2sdk-manifests"]
|
[submodule "hl2sdk-manifests"]
|
||||||
path = hl2sdk-manifests
|
path = hl2sdk-manifests
|
||||||
url = https://github.com/alliedmodders/hl2sdk-manifests
|
url = https://github.com/alliedmodders/hl2sdk-manifests
|
||||||
[submodule "core/khook"]
|
[submodule "third_party/khook"]
|
||||||
path = third_party/khook
|
path = third_party/khook
|
||||||
url = https://github.com/Kenzzer/KHook
|
url = https://github.com/Kenzzer/KHook
|
||||||
@ -689,7 +689,7 @@ mm_PatchAllowDedicated(bool patch)
|
|||||||
void **vtable_src;
|
void **vtable_src;
|
||||||
void **vtable_dest;
|
void **vtable_dest;
|
||||||
|
|
||||||
auto mfp = KHook::__GetMFPVtableIndex__(&ISource2ServerConfig::AllowDedicatedServers, mfp);
|
auto mfp = KHook::__GetMFPVtableIndex__(&ISource2ServerConfig::AllowDedicatedServers);
|
||||||
|
|
||||||
assert(mfp != -1);
|
assert(mfp != -1);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user