From a45e33863b3503df5996b842ad46b493567a1297 Mon Sep 17 00:00:00 2001 From: Ryan Stecker Date: Sat, 5 Apr 2014 14:14:45 -0500 Subject: [PATCH] Fix compilation issue with BeginAuthSession forward. --- Extension/swgshooks.cpp | 2 +- Extension/swgshooks.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Extension/swgshooks.cpp b/Extension/swgshooks.cpp index 6276896..003284b 100644 --- a/Extension/swgshooks.cpp +++ b/Extension/swgshooks.cpp @@ -82,7 +82,7 @@ void SteamWorksGSHooks::LogOnAnonymous(void) EBeginAuthSessionResult SteamWorksGSHooks::BeginAuthSession(const void *pAuthTicket, int cbAuthTicket, CSteamID steamID) { - if (this->pOBAS->GetFunctionCount != 0) + if (this->pOBAS->GetFunctionCount() != 0) { this->pOBAS->PushArray(pAuthTicket, cbAuthTicket); this->pOBAS->PushCell(cbAuthTicket); diff --git a/Extension/swgshooks.h b/Extension/swgshooks.h index 773299a..eec4511 100644 --- a/Extension/swgshooks.h +++ b/Extension/swgshooks.h @@ -41,6 +41,7 @@ class SteamWorksGSHooks private: IForward *pFORR; /* On Restart Requested. */ IForward *pFOTR; /* On Token Requested. */ + IForward *pOBAS; /* On Begin Auth Session. */ unsigned char uHooked; };