mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 14:12:04 +08:00
engine: rename library naming function, as it returns a full path and not just library name
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user