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; };