engine: server: make CRC32_MapFile public

This commit is contained in:
Alibek Omarov 2023-07-02 01:19:38 +03:00
parent eb7f19d3cf
commit ea24b5f3ca
2 changed files with 2 additions and 1 deletions

View File

@ -504,6 +504,7 @@ void SV_FreeClients( void );
//
// sv_init.c
//
qboolean CRC32_MapFile( dword *crcvalue, const char *filename, qboolean multiplayer );
qboolean SV_InitGame( void );
void SV_ActivateServer( int runPhysics );
qboolean SV_SpawnServer( const char *server, const char *startspot, qboolean background );

View File

@ -805,7 +805,7 @@ void SV_SetupClients( void )
ClearBits( sv_maxclients.flags, FCVAR_CHANGED );
}
static qboolean CRC32_MapFile( dword *crcvalue, const char *filename, qboolean multiplayer )
qboolean CRC32_MapFile( dword *crcvalue, const char *filename, qboolean multiplayer )
{
char headbuf[1024], buffer[1024];
int i, num_bytes, lumplen;