diff options
author | Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> | 2022-03-29 17:57:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-29 17:57:06 +0200 |
commit | 9916463631b3c31501617cdce02129178908d052 (patch) | |
tree | 1d23b7bdff64df13554af1786fe0b9078ce43dcb /NorthstarDedicatedTest/miscserverfixes.cpp | |
parent | f1a8ce9337ce84f25fc1a78458f43377c7b36f4d (diff) | |
parent | 52f3f5795fa516862c0a4030df8d43f4c0cbda65 (diff) | |
download | NorthstarLauncher-9916463631b3c31501617cdce02129178908d052.tar.gz NorthstarLauncher-9916463631b3c31501617cdce02129178908d052.zip |
Merge branch 'main' into NetCon
Diffstat (limited to 'NorthstarDedicatedTest/miscserverfixes.cpp')
-rw-r--r-- | NorthstarDedicatedTest/miscserverfixes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/miscserverfixes.cpp b/NorthstarDedicatedTest/miscserverfixes.cpp index 7d977d64..30cd5777 100644 --- a/NorthstarDedicatedTest/miscserverfixes.cpp +++ b/NorthstarDedicatedTest/miscserverfixes.cpp @@ -10,7 +10,7 @@ void InitialiseMiscServerFixes(HMODULE baseAddress) // ret at the start of the concommand GenerateObjFile as it can crash servers { - NSMem::BytePatch(ba + 0x38D920, {0xC3}); + NSMem::BytePatch(ba + 0x38D920, "C3"); } // nop out call to VGUI shutdown since it crashes the game when quitting from the console @@ -21,7 +21,7 @@ void InitialiseMiscServerFixes(HMODULE baseAddress) // ret at the start of CServerGameClients::ClientCommandKeyValues as it has no benefit and is forwarded to client (i.e. security issue) // this prevents the attack vector of client=>server=>client, however server=>client also has clientside patches { - NSMem::BytePatch(ba + 0x153920, {0xC3}); + NSMem::BytePatch(ba + 0x153920, "C3"); } } |