diff --git a/src/common/global.h b/src/common/global.h index 84c4f663..51ac1dd5 100644 --- a/src/common/global.h +++ b/src/common/global.h @@ -135,6 +135,15 @@ extern ConVar* rui_defaultDebugFontFace; extern ConVar* miles_language; #endif +//----------------------------------------------------------------------------- +// Purpose: checks if the accepted EULA is up to date. +// Output : true on success, false on failure. +//----------------------------------------------------------------------------- +inline bool IsEULAUpToDate() +{ + return (eula_version_accepted->GetInt() == eula_version->GetInt()); +} + void ConVar_InitShipped(void); void ConVar_PurgeShipped(void); void ConVar_PurgeHostNames(void); diff --git a/src/networksystem/pylon.cpp b/src/networksystem/pylon.cpp index 0e16f2aa..42133d79 100644 --- a/src/networksystem/pylon.cpp +++ b/src/networksystem/pylon.cpp @@ -351,15 +351,6 @@ bool CPylon::AuthForConnection(const uint64_t nucleusId, const char* ipAddress, return false; } -//----------------------------------------------------------------------------- -// Purpose: checks if the accepted EULA is up to date. -// Output : true on success, false on failure. -//----------------------------------------------------------------------------- -static bool IsEULAUpToDate() -{ - return (eula_version_accepted->GetInt() == eula_version->GetInt()); -} - //----------------------------------------------------------------------------- // Purpose: Gets the EULA from master server. // Input : &outData -