engine: server: do not unload server library on win327

This commit is contained in:
Alibek Omarov 2024-12-01 11:21:02 +03:00
parent 1f5c97964b
commit 38ef16b08b
2 changed files with 0 additions and 12 deletions

View file

@ -5172,13 +5172,7 @@ qboolean SV_LoadProgs( const char *name )
edict_t *e; edict_t *e;
if( svgame.hInstance ) if( svgame.hInstance )
{
#if XASH_WIN32
SV_UnloadProgs();
#else // XASH_WIN32
return true; return true;
#endif // XASH_WIN32
}
// fill it in // fill it in
svgame.pmove = &gpMove; svgame.pmove = &gpMove;

View file

@ -1074,9 +1074,6 @@ void SV_Shutdown( const char *finalmsg )
if( CL_IsPlaybackDemo( )) if( CL_IsPlaybackDemo( ))
CL_Drop(); CL_Drop();
#if XASH_WIN32
SV_UnloadProgs();
#endif // XASH_WIN32
return; return;
} }
@ -1094,9 +1091,6 @@ void SV_Shutdown( const char *finalmsg )
NET_Config( false, false ); NET_Config( false, false );
SV_DeactivateServer(); SV_DeactivateServer();
#if XASH_WIN32
SV_UnloadProgs();
#endif // XASH_WIN32
CL_Drop(); CL_Drop();
// free current level // free current level