platform: posix: library: properly use directpath argument

This commit is contained in:
Alibek Omarov 2019-07-11 04:00:25 +03:00
parent 6f121b90c1
commit 1f7dfecf89
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ void *COM_LoadLibrary( const char *dllname, int build_ordinals_table, qboolean d
// platforms where gameinfo mechanism is working goes here
// and use FS_FindLibrary
hInst = FS_FindLibrary( dllname, false );
hInst = FS_FindLibrary( dllname, directpath );
if( !hInst )
{
// HACKHACK: direct load dll