- RFS compatibility with GDX: The outermost path component can be left out.

This commit is contained in:
Christoph Oelckers 2021-04-17 23:59:10 +02:00
parent 27ca71a6ec
commit eb912604d2

View file

@ -659,8 +659,8 @@ void ParseScript(int lumpnum)
auto inp1 = strpbrk(inp, "/\\"); auto inp1 = strpbrk(inp, "/\\");
if (!inp1 || !fileSystem.CreatePathlessCopy(inp1 + 1, ID, nFlags)) if (!inp1 || !fileSystem.CreatePathlessCopy(inp1 + 1, ID, nFlags))
{ {
// I'll activate this when I find evidence that it is needed. Otherwise the risk of picking up unwanted data is too high. // GDX spports this so we should, too.
//fileSystem.CreatePathlessCopy(inp, ID, nFlags); fileSystem.CreatePathlessCopy(inp, ID, nFlags);
} }
} }