FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
553 stars 107 forks source link

FS_FileExists gives different results on Win32 and Linux #300

Closed a1batross closed 6 years ago

a1batross commented 6 years ago

Following code

    MsgDev( D_NOTE, "FS_FileExists -- %i\n", FS_FileExists( "resource/background", true ));

Gives me on Win32(under wine):

[18:35:13] FS_FileExists -- 0

And on Linux:

[18:35:19] FS_FileExists -- 1

Which behaviour is valid? Need to check behaviour under Unkle Mike's Xash3D.

a1batross commented 6 years ago

Under Unkle Mike's Xash3D build 3887 this returns 0 on directories.