mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-02-04 19:24:22 +00:00
engine: server: remove unused host struct field
This commit is contained in:
parent
8fb908e3d4
commit
78bc177e05
@ -360,7 +360,6 @@ typedef struct
|
||||
typedef struct
|
||||
{
|
||||
qboolean initialized; // sv_init has completed
|
||||
qboolean game_library_loaded; // is game library loaded in SV_InitGame
|
||||
double timestart; // just for profiling
|
||||
|
||||
int maxclients; // server max clients
|
||||
|
@ -5130,7 +5130,6 @@ void SV_UnloadProgs( void )
|
||||
|
||||
Mod_ResetStudioAPI ();
|
||||
|
||||
svs.game_library_loaded = false;
|
||||
COM_FreeLibrary( svgame.hInstance );
|
||||
Mem_FreePool( &svgame.mempool );
|
||||
memset( &svgame, 0, sizeof( svgame ));
|
||||
|
@ -706,7 +706,7 @@ qboolean SV_InitGame( void )
|
||||
{
|
||||
string dllpath;
|
||||
|
||||
if( svs.game_library_loaded )
|
||||
if( svgame.hInstance )
|
||||
return true;
|
||||
|
||||
// first initialize?
|
||||
@ -721,7 +721,6 @@ qboolean SV_InitGame( void )
|
||||
}
|
||||
|
||||
// client frames will be allocated in SV_ClientConnect
|
||||
svs.game_library_loaded = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user