Fix a single usage of S_IREAD instead of our BS_IREAD compatibility version

git-svn-id: https://svn.eduke32.com/eduke32@2776 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2012-06-21 19:48:54 +00:00
parent 4002492146
commit ef32d9cb64

View file

@ -762,7 +762,7 @@ int32_t kopen4load(const char *filename, char searchfirst)
dont_free_pfn = do_case_check;
#endif
if (searchfirst == 0 && (fil = openfrompath(filename,BO_BINARY|BO_RDONLY,S_IREAD)) >= 0)
if (searchfirst == 0 && (fil = openfrompath(filename,BO_BINARY|BO_RDONLY,BS_IREAD)) >= 0)
{
#ifdef FILENAME_CASE_CHECK
if (check_filename_casing_fn && check_filename_casing_fn())