aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dedicated.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-09-27 01:01:55 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-09-27 01:01:55 +0100
commit22cfe175e12c68d62412ca662b300aa89e097b24 (patch)
tree650d45d0cb3754a8f940fcb9d656e1ec5e66d280 /NorthstarDedicatedTest/dedicated.cpp
parent26d090e4ae6153d1f7b49f8776c2923345dd810f (diff)
downloadNorthstarLauncher-22cfe175e12c68d62412ca662b300aa89e097b24.tar.gz
NorthstarLauncher-22cfe175e12c68d62412ca662b300aa89e097b24.zip
improve some commandline arg stuff
Diffstat (limited to 'NorthstarDedicatedTest/dedicated.cpp')
-rw-r--r--NorthstarDedicatedTest/dedicated.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/dedicated.cpp b/NorthstarDedicatedTest/dedicated.cpp
index 42ddb5e4..b48bcc62 100644
--- a/NorthstarDedicatedTest/dedicated.cpp
+++ b/NorthstarDedicatedTest/dedicated.cpp
@@ -239,6 +239,10 @@ typedef void(*Tier0_InitOriginType)();
Tier0_InitOriginType Tier0_InitOrigin;
void Tier0_InitOriginHook()
{
+ // disable origin on dedicated
+ // for any big ea lawyers, this can't be used to play the game without origin, game will throw a fit if you try to do anything without an origin id as a client
+ // for dedi it's fine though, game doesn't care if origin is disabled as long as there's only a server
+
if (!IsDedicated())
Tier0_InitOrigin();
}