- fixed rffdefineid handler passing a bad file name to the backend.

This commit is contained in:
Christoph Oelckers 2021-04-08 21:36:52 +02:00
parent 51c4c47183
commit 778a75c097
2 changed files with 2 additions and 2 deletions

View file

@ -3156,7 +3156,7 @@ static int32_t defsparser(scriptfile *script)
break;
FStringf name("%s.%s", resName.GetChars(), resType.GetChars());
fileSystem.CreatePathlessCopy(resName, resID, 0);
fileSystem.CreatePathlessCopy(name, resID, 0);
}
break;

View file

@ -1328,7 +1328,7 @@ void LoadDefinitions()
{
loaddefinitionsfile("engine/widescreen.def");
}
fileSystem.InitHashChains();
}