aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/clientauthhooks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest/clientauthhooks.cpp')
-rw-r--r--NorthstarDedicatedTest/clientauthhooks.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/NorthstarDedicatedTest/clientauthhooks.cpp b/NorthstarDedicatedTest/clientauthhooks.cpp
index f1dc3f8c..4784dada 100644
--- a/NorthstarDedicatedTest/clientauthhooks.cpp
+++ b/NorthstarDedicatedTest/clientauthhooks.cpp
@@ -6,9 +6,6 @@
#include "masterserver.h"
#include "convar.h"
-typedef void (*AuthWithStryderType)(void* a1);
-AuthWithStryderType AuthWithStryder;
-
ConVar* Cvar_ns_has_agreed_to_send_token;
// mirrored in script
@@ -16,6 +13,8 @@ const int NOT_DECIDED_TO_SEND_TOKEN = 0;
const int AGREED_TO_SEND_TOKEN = 1;
const int DISAGREED_TO_SEND_TOKEN = 2;
+typedef void (*AuthWithStryderType)(void* a1);
+AuthWithStryderType AuthWithStryder;
void AuthWithStryderHook(void* a1)
{
// game will call this forever, until it gets a valid auth key