Browse Source

engine: ref: remove redutant LoadLibrary call

pull/2/head
Alibek Omarov 5 years ago
parent
commit
6197ba8af6
  1. 4
      engine/client/ref_common.c

4
engine/client/ref_common.c

@ -430,16 +430,12 @@ static qboolean R_LoadProgs( const char *name ) @@ -430,16 +430,12 @@ static qboolean R_LoadProgs( const char *name )
return false;
}
#else
if( !(ref.hInstance = COM_LoadLibrary( name, false, true ) ))
{
FS_AllowDirectPaths( true );
if( !(ref.hInstance = COM_LoadLibrary( name, false, true ) ))
{
FS_AllowDirectPaths( false );
return false;
}
}
#endif
FS_AllowDirectPaths( false );

Loading…
Cancel
Save