engine: ref: remove redutant LoadLibrary call
This commit is contained in:
parent
89a3fd6323
commit
6197ba8af6
1 changed files with 3 additions and 7 deletions
|
@ -430,16 +430,12 @@ static qboolean R_LoadProgs( const char *name )
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if( !(ref.hInstance = COM_LoadLibrary( name, false, true ) ))
|
|
||||||
{
|
|
||||||
FS_AllowDirectPaths( true );
|
FS_AllowDirectPaths( true );
|
||||||
if( !(ref.hInstance = COM_LoadLibrary( name, false, true ) ))
|
if( !(ref.hInstance = COM_LoadLibrary( name, false, true ) ))
|
||||||
{
|
{
|
||||||
FS_AllowDirectPaths( false );
|
FS_AllowDirectPaths( false );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
FS_AllowDirectPaths( false );
|
FS_AllowDirectPaths( false );
|
||||||
|
|
Loading…
Add table
Reference in a new issue