aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/miscserverfixes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/miscserverfixes.cpp')
-rw-r--r--NorthstarDedicatedTest/miscserverfixes.cpp4
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");
}
}