- Blood's voxel loader override has somehow gotten lost.

This commit is contained in:
Christoph Oelckers 2019-10-16 23:57:29 +02:00
parent eebb396241
commit 452cfe385e
2 changed files with 5 additions and 2 deletions

View file

@ -10377,6 +10377,9 @@ static void videoAllocateBuffers(void)
void (*PolymostProcessVoxels_Callback)(void) = NULL;
static void PolymostProcessVoxels(void)
{
if (PolymostProcessVoxels_Callback)
PolymostProcessVoxels_Callback();
if (g_haveVoxels != 1)
return;

View file

@ -62,9 +62,9 @@ FHardwareTexture *gloadtex(const int32_t *picbuf, int32_t xsiz, int32_t ysiz, in
{
const int32_t ii = palookup[dapal][pic[i].a];
pic2[i].b = curpalette[ii].b;
pic2[i].r = curpalette[ii].b;
pic2[i].g = curpalette[ii].g;
pic2[i].r = curpalette[ii].r;
pic2[i].b = curpalette[ii].r;
pic2[i].a = 255;
}
}