- Duke Nukem starts again.

Now for the other frontends.
This commit is contained in:
Christoph Oelckers 2019-11-02 17:41:38 +01:00
parent 768a75b712
commit 536c7d61a0

View file

@ -249,6 +249,7 @@ int FileSystem::FindFile (const char *name, ELookupMode lookupmode, int filenum)
{ {
return -1; 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); FName lname(name, true);
if (lname == NAME_None) return -1; if (lname == NAME_None) return -1;