Skip to content

Commit

Permalink
Sync with 'alliedmodders/cs2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Wend4r committed Jan 3, 2025
2 parents 4542852 + f3b44f2 commit 66b4d40
Show file tree
Hide file tree
Showing 5 changed files with 1,229 additions and 1,230 deletions.
3 changes: 2 additions & 1 deletion public/iserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class KeyValues3;
class CPureServerWhitelist;
class CServerSideClientBase;
class CCLCMsg_SplitPlayerConnect_t;
class C2S_CONNECT_Message;
class CNetworkStringTableContainer;
class CNetworkServerSpawnGroupCreatePrerequisites;

Expand Down Expand Up @@ -189,7 +190,7 @@ class CNetworkGameServerBase : public INetworkGameServer, protected IConnectionl

virtual void StartHLTVMaster() = 0;

virtual CServerSideClientBase *ConnectClient( const char *pszName, ns_address *pAddr, int socket, CCLCMsg_SplitPlayerConnect_t *pSplitPlayer,
virtual CServerSideClientBase *ConnectClient( const char *pszName, ns_address *pAddr, void *pNetInfo, C2S_CONNECT_Message *pConnectMsg,
const char *pszChallenge, const byte *pAuthTicket, int nAuthTicketLength, bool bIsLowViolence ) = 0;
virtual CServerSideClientBase *CreateNewClient( CPlayerSlot slot ) = 0;

Expand Down
2 changes: 1 addition & 1 deletion public/tier1/UtlSortVector.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ void CUtlSortVector<T, LessFunc, BaseVector>::QuickSort( LessFunc& less, int nLo
ctx.m_pLessContext = m_pLessContext;
ctx.m_pLessFunc = &less;

qsort_s( Base(), Count(), sizeof(T), (QSortCompareFunc_t)&CUtlSortVector<T, LessFunc>::CompareHelper, &ctx );
qsort_s( this->Base(), this->Count(), sizeof(T), (QSortCompareFunc_t)&CUtlSortVector<T, LessFunc>::CompareHelper, &ctx );
}
#else
typedef int (__cdecl *QSortCompareFunc_t)( const void *, const void *);
Expand Down
Loading

0 comments on commit 66b4d40

Please sign in to comment.