merge FileData and ResourceData.

This commit is contained in:
Christoph Oelckers 2023-12-10 22:30:54 +01:00
commit fe106d9bfe
38 changed files with 77 additions and 118 deletions

View file

@ -494,7 +494,7 @@ static void R_CreatePlayerTranslation (float h, float s, float v, const FPlayerC
else
{
auto translump = fileSystem.ReadFile(colorset->Lump);
auto trans = translump.GetBytes();
auto trans = translump.bytes();
for (i = start; i <= end; ++i)
{
table->Remap[i] = GPalette.Remap[trans[i]];