diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-09-09 16:01:01 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-09-09 16:01:01 +0100 |
commit | fc0e6630fb6dccbeeca6ea65c061824cd7a848e1 (patch) | |
tree | 04965579e99b5920f9bbd2c5b6e8b5d12d79b7bb /NorthstarDedicatedTest/dedicated.cpp | |
parent | fb82ecfec5893b00f68b72f912c6b3975b5fdb4f (diff) | |
download | NorthstarLauncher-fc0e6630fb6dccbeeca6ea65c061824cd7a848e1.tar.gz NorthstarLauncher-fc0e6630fb6dccbeeca6ea65c061824cd7a848e1.zip |
add IsValveMod patches
Diffstat (limited to 'NorthstarDedicatedTest/dedicated.cpp')
-rw-r--r-- | NorthstarDedicatedTest/dedicated.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/NorthstarDedicatedTest/dedicated.cpp b/NorthstarDedicatedTest/dedicated.cpp index 8d7a6f8c..089ca467 100644 --- a/NorthstarDedicatedTest/dedicated.cpp +++ b/NorthstarDedicatedTest/dedicated.cpp @@ -233,21 +233,6 @@ void InitialiseDedicated(HMODULE engineAddress) // also look into materialsystem + 5B344 since it seems to be the base of all the renderthread stuff } -void InitialiseDedicatedMaterialSystem(HMODULE baseAddress) -{ - { - // CMaterialSystem::FindMaterial - char* ptr = (char*)baseAddress + 0x5F0F1; - TempReadWrite rw(ptr); - - // make the game use the error material - *ptr = 0xE9; - *(ptr + 1) = (char)0x34; - *(ptr + 2) = (char)0x03; - *(ptr + 3) = (char)0x00; - } -} - void Sys_Printf(CDedicatedExports* dedicated, char* msg) { spdlog::info("[DEDICATED PRINT] {}", msg); |