engine: rename library naming function, as it returns a full path and not just library name

This commit is contained in:
Alibek Omarov
2019-07-07 02:47:45 +03:00
parent d01a33814c
commit 54920f13df
6 changed files with 46 additions and 56 deletions
+2 -2
View File
@@ -673,7 +673,7 @@ qboolean SV_InitGame( void )
// first initialize?
COM_ResetLibraryError();
COM_GetCommonLibraryName( LIBRARY_SERVER, dllpath, sizeof( dllpath ));
COM_GetCommonLibraryPath( LIBRARY_SERVER, dllpath, sizeof( dllpath ));
if( !SV_LoadProgs( dllpath ))
{
@@ -1000,7 +1000,7 @@ void SV_InitGameProgs( void )
if( svgame.hInstance ) return; // already loaded
COM_GetCommonLibraryName( LIBRARY_SERVER, dllpath, sizeof( dllpath ));
COM_GetCommonLibraryPath( LIBRARY_SERVER, dllpath, sizeof( dllpath ));
// just try to initialize
SV_LoadProgs( dllpath );