From 536c7d61a0098f1d7e7aa4f917e1a199bff9c8f7 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 2 Nov 2019 17:41:38 +0100 Subject: [PATCH] - Duke Nukem starts again. Now for the other frontends. --- source/common/filesystem/filesystem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/common/filesystem/filesystem.cpp b/source/common/filesystem/filesystem.cpp index 527c34627..d98badba1 100644 --- a/source/common/filesystem/filesystem.cpp +++ b/source/common/filesystem/filesystem.cpp @@ -249,6 +249,7 @@ int FileSystem::FindFile (const char *name, ELookupMode lookupmode, int filenum) { return -1; } + if (*name == '/') name++; // maps get a '/' prepended to their name. No idea what's the point, but this must be removed here. FName lname(name, true); if (lname == NAME_None) return -1;