aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/playlist.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-15 05:06:36 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-15 05:06:36 +0000
commit57c269f6f2202ca396bcbf9b6e8fffcd93e4db7c (patch)
treec5a30ae171a14abca5ae8f80c0c2757d429a83f3 /NorthstarDedicatedTest/playlist.cpp
parent3492008d7b55f342ea2d7191ca2301d7597c5127 (diff)
downloadNorthstarLauncher-57c269f6f2202ca396bcbf9b6e8fffcd93e4db7c.tar.gz
NorthstarLauncher-57c269f6f2202ca396bcbf9b6e8fffcd93e4db7c.zip
dedi ShowWindow patch
Diffstat (limited to 'NorthstarDedicatedTest/playlist.cpp')
-rw-r--r--NorthstarDedicatedTest/playlist.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/NorthstarDedicatedTest/playlist.cpp b/NorthstarDedicatedTest/playlist.cpp
index 20c76cb0..6339d3ba 100644
--- a/NorthstarDedicatedTest/playlist.cpp
+++ b/NorthstarDedicatedTest/playlist.cpp
@@ -47,19 +47,4 @@ void InitialisePlaylistHooks(HMODULE baseAddress)
TempReadWrite rw(ptr);
*((char*)ptr) = 0xC3; // jmp => ret
}
-
- // on dedicated servers, force SetPlaylistVarOverride to always set the server's override list, irregardless of whether server is running yet
- if (IsDedicated())
- {
- // SetPlaylistVarOverride
- void* ptr = (char*)baseAddress + 0x18ED17;
- TempReadWrite rw(ptr);
-
- *((char*)ptr) = 0x90; // jl => nop
- *((char*)ptr + 1) = 0x90;
- *((char*)ptr + 2) = 0x90;
- *((char*)ptr + 3) = 0x90;
- *((char*)ptr + 4) = 0x90;
- *((char*)ptr + 5) = 0x90;
- }
} \ No newline at end of file