engine: common: fix dedicated build by defining SV_GetMaxClients before CL_GetMaxClients stub (that redirects to it)

Also remove CL_Shutdown from dedicated stub lists.
This commit is contained in:
Alibek Omarov 2025-01-14 13:09:18 +03:00
parent 49426721d8
commit a75666a3cd
2 changed files with 2 additions and 6 deletions

View file

@ -711,6 +711,8 @@ typedef enum connprotocol_e
struct physent_s;
struct sv_client_s;
typedef struct sizebuf_s sizebuf_t;
int SV_GetMaxClients( void );
#if !XASH_DEDICATED
qboolean CL_Initialized( void );
qboolean CL_IsInGame( void );
@ -753,7 +755,6 @@ void SV_DrawDebugTriangles( void );
void SV_DrawOrthoTriangles( void );
double CL_GetDemoFramerate( void );
void CL_StopPlayback( void );
int SV_GetMaxClients( void );
qboolean SV_Initialized( void );
void CL_ProcessFile( qboolean successfully_received, const char *filename );
int SV_GetSaveComment( const char *savename, char *comment );

View file

@ -113,11 +113,6 @@ void CL_Disconnect( void )
}
void CL_Shutdown( void )
{
}
void R_ClearStaticEntities( void )
{