diff --git a/engine/common/filesystem.c b/engine/common/filesystem.c index 06ebc672..f6902a85 100644 --- a/engine/common/filesystem.c +++ b/engine/common/filesystem.c @@ -3347,7 +3347,11 @@ dll_user_t *FS_FindLibrary( const char *dllname, qboolean directpath ) { // NOTE: if search is NULL let the OS found library himself Q_strncpy( hInst->fullPath, dllpath, sizeof( hInst->fullPath )); +#if XASH_WIN32 && XASH_X86 // a1ba: custom loader is non-portable (I just don't want to touch it) hInst->custom_loader = (search) ? true : false; +#else + hInst->custom_loader = false; +#endif } fs_ext_path = false; // always reset direct paths