gmod_src: file.Read( path, bool ) - bool now means, skip the..

Revision 625
file.Read( path, bool ) - bool now means, skip the data folder (like Find, Exists, IsDir, etc)
Updated version number to 101Changed Files:
[ul]
[li]trunk/src_garrysmod/garrysmod/Library/gl_file.cpp[/li][li]trunk/src_garrysmod/garrysmod/gmod_version.h[/li][/ul]
Committed By Garry Newman

posting in a garry thread

[lua]file.Read( “lua/autorun/client/test.lua”, true )[/lua]

?

[lua]file.Read( “…/lua/autorun/client/test.lua” ) [/lua]

?

Cubar was asking if that’s how it can be used.

Yes i didn’t really understand the file.Read( path, bool ) - bool now means, skip the data folder (like Find, Exists, IsDir, etc), instead of doing …/ you can use true to skip the data folder.

Doesn’t that involve more typing?

Maybe Macs can’t root using “…”.

I did do it originally to fix a bug with the mac, but it didn’t fix it - but since this brings it in-line with the other functions I left it like this.

The mac bug fix was another thing.

They can in normal filesystem operations, though it’s possible valve failed?